Forums

Tutorial for conditional forms

jjspelman 03 Jul, 2015
I would like to start using the conditional form capabilities but need a good starting point to learn. Is there a tutorial or video available anywhere for V5?
GreyHead 04 Jul, 2015
Hi jjspelman,

What exactly do you want to do - there are a lot of different ways of doing 'conditional'?

Bob
jjspelman 05 Jul, 2015
I feel if I knew some of the basics it could open up additional ideas on how to utilize it's functionality.

For example, if I had a form where the user fills out common info such as name, company, email etc. Then depending on a choice (radio or dropdown) of what department they want to reach (customer service, tech support, etc.) different form fields would be presented. Additionally, the form would be sent to the appropriate email address.

That's just an example. Would this be easy to accomplish?
GreyHead 06 Jul, 2015
Hi jjspelman,

To take the example you give: you can use the Events in a Drop-down element to hide/show elements or containers with several elements depending on which selection is made. There is a FAQ on sending to different email addresses depending on the form data.

Using Custom JavaScript you can build 'wizards' that track through a series of questions where the next question shown depends on previous replies.

Using Multi-page forms you can similarly use an Event switcher to display the next page depending on previous replies.

Bob
jjspelman 06 Jul, 2015
Thanks, Bob, but unfortunately I do not know Javascript.

If I had to use multi page feature, I feel it may defeat the purpose. As an example I could simply create a page with a question as to who they want to contact (tech support, sales, etc.) and simply place a link to a standard Joomla contact form or a ChronoForms form?
GreyHead 07 Jul, 2015
Hi jjspelman,

Yes

Bob
This topic is locked and no more replies can be posted.