• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: If/Then and Conditional Questions

If/Then and Conditional Questions 13 years 4 months ago #15722

  • Phodel
  • Phodel's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Can RSForms present a set of questions based on condition or if/then statements?

For example:

We are creating a registration form for two events. Event A dates are January 1, 2011 and January 16, 2011. Event B dates are January 7, 2011 and January 26, 2011. If the registrant picks Event A I only want them to be presented with the dates related to the choice of Event A and not see the Event B related dates.

How can I get this accomplished in RSforms?

Any help or suggestions are greatly appreciated!

Todd
The administrator has disabled public write access.

Re: If/Then and Conditional Questions 13 years 4 months ago #15731

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 745
  • Thank you received: 66
Hello,

This can be achieved in RSForm!Pro, but it will require some custom scripting. You could try grouping the fields of each event in a div with an unique id, then use a custom script in order to hide them when the page is loaded and only display the fields that correspond to the event chosen by the user. A show/hide script example can be found here:

demo.rsjoomla.com/fex
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re: If/Then and Conditional Questions (updated) 12 years 8 months ago #18697

  • insiyah
  • insiyah's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Thanks for the link. It is a big help. However, I have a slightly different requirement:

My form is for school regisration. Some people have more than 1 child to register. What I would like to do is have the parent fill out the contact information etc. and then enter the child they are registering. When the 1st child's information is added, there should be an if statement to either submit or IF additional child please enter the information.

Any suggestions on how I can do this?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!