• Formit Hooks#

  • rampaign Reply #1, 4 months, 2 weeks ago

    Reply
    Hi everyone!
    i have a form with three radio buttons, and what i want to do is that after the user submits the form, formit processes it differently, according to which radio button was selected. If the user checks the first or second radio button, formit should send an email to the user (the email is included in the form too) and redirect the page, but if the third radio button was selected, then instead of sending an email, formit should redirect the user to another page (different from the the other ones).
    Is this posible? im using a hook to know which radio button was selected, but i dont know if i should do everything inside this hook, or use the formit call.

    Thanks for your replies.