Title: conditional logic
Last modified: February 7, 2017

---

# conditional logic

 *  [wintersap](https://wordpress.org/support/users/wintersap/)
 * (@wintersap)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-25/)
 * 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 [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-25/#post-8753630)
 * 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](https://xnau.com/dropdown-selectors-limit-selections-based-on-another-selector/)
 *  Thread Starter [wintersap](https://wordpress.org/support/users/wintersap/)
 * (@wintersap)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-25/#post-8782114)
 * 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 [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-25/#post-8782765)
 * 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](https://wordpress.org/support/users/wintersap/)
 * (@wintersap)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-25/#post-8786745)
 * 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.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [wintersap](https://wordpress.org/support/users/wintersap/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-25/#post-8786745)
 * Status: not resolved