• wintersap

    (@wintersap)


    I searched your site and could not find an answer for implementing conditional logic. I need to be able to show fields based on a previous field selection. For instance, if the member chose “yes” for “include address”, it would show the fields for entering address information. If they chose “no”, it would not. For our user base, this is important. Otherwise, your plugin does just about everything we need. Is there a way to do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Yes, but you’ll need to be able to code some javascript. I do have a tutorial that shows an example of a custom template with javascript to dynamically alter the form depending on user selection. You can extend the basic idea to set up the custom functionality you’re looking for.

    Dropdown Selectors: limit selections based on another selector

    Thread Starter wintersap

    (@wintersap)

    Thank you for your quick response. I saw this option previously. It appears to be only for set field contents. I need for some fields to be blank text fields for the member to fill in. Also, some of the form is multi-level. If they select “yes” on the first option, they then choose a type from 3 options. Depending on which type they choose, other appropriate fields would appear for them to fill in. Can that be done?

    Plugin Author xnau webdesign

    (@xnau)

    Yes, what you need is different, but the tutorial shows you how to build a template with javascript in it that interacts with the form dynamically. You can do all the things you want, it’s just a matter of writing the custom javascript for that purpose. You’ll need to know some javascript to get that done, but with jQuery it’s pretty easy.

    Thread Starter wintersap

    (@wintersap)

    I’m usually pretty good at figuring things out if there is a close enough example. I really don’t know javascript or jQuery right now, and your sample was not close enough to what I need for me to figure out. I have another support topic and will start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘conditional logic’ is closed to new replies.