• Hi,

    Was just wondering if there was a way to have a submit button which can link to 2 different pages depending on the value of a drop down menu?

    I have tried by creating 2 html fields with the link and in an output it typed:

    IF(product=1, link01, IF(product=2, link2))

    link01 and link02 being the id’s of the html fields….but this didnt work! ??

    any ideas?

    https://www.ads-software.com/extend/plugins/jazzy-forms/

Viewing 1 replies (of 1 total)
  • Plugin Author jazzigor

    (@jazzigor)

    Hi michymac101,

    in order to have a dynamically generated HTML link you would create an HTML element and set its content to something like

    Click here: <a href="{{IF(product=1, "https://www.linkone.com", "https://www.linktwo.com")}}">Link</a>

    (The formula inside the double curly braces is evaluated in real-time, just like one you would use for an Output element.)

    Of course that’s not the same as having a proper Submit button, but you can style it as such and spice its URL up with extra data.

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Jazzy Forms] Submit Buttons?’ is closed to new replies.