Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mov3nforward 117 posts 319 karma points
    Jul 25, 2018 @ 14:28
    Mov3nforward
    0

    Conditional Form Logic

    I have a from where there is a radio button list at the top. Each option has text like "I want more information about XYZ" or " I want someone to contact me", etc...

    I want to send an email to a different email address based on what the user selects.

    O I want more information about XYZ [ Email form to [email protected] ]
    O I want someone to contact me [ Email form to [email protected] ]

    How would I do something like this with the Umbraco Form plugin or is this something I need to custom code?

    Thanks

  • Harry Spyrou 212 posts 604 karma points
    Jul 25, 2018 @ 14:57
    Harry Spyrou
    0

    You could easily define a variable in your model and pass that variable from a hidden field on form submission. Does that make sense?

    I'm assuming you're using MVC.

  • Mov3nforward 117 posts 319 karma points
    Jul 25, 2018 @ 15:46
    Mov3nforward
    0

    I know how to create the from via code, but wanted to see if there was something already baked into the Form plugin.

Please Sign in or register to post replies

Write your reply to:

Draft