Hi,
Is it possible to use the multi-oage form in tandem with user choices?
For example, on page one my user must use a dropdown selection and decide on Option X or Option Y.
If they choose X, then Page-X on the multi-page form is loaded. If they choose Option Y, then Page-X is bypassed and Page-Y is instead loaded.
Was using UsableForms.js for this up to now, but now my forms are growing in complexity so this is no longer an option.
I am guessing a custom code needs to be applied to the on submit fuction for a Show HTML multi-page action, but not sure how!
Thanks,
Brendan
Hi Brendan,
Which version of ChronoForms are you using?
You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
Oop, sorry Bob... should have included that.
Version is 4.0 RC3.11
Joomla 2.5.4
Much appreciated,
Brendan
Hi Brendan,
First, please upgrade ChronoForms to RC3.3 as there are some bug-fixes.
I haven't really cracked multi-page forms in CFv4 as there are now several ways of getting slightly different versions of multi-page forms.
[list=a]
You can use separate forms and switch between them using ChronoForms ReDirect URL and ReDirect User actions or the $mainframe->redirect() method.
You can use a single form and divide the Preview box elements with the new 'Page Break' element. I think that each page then submits to a separate event and you use &event=event_name to switch between them.
You can use a single form with 'tabbed' pages using the new Pane and Panel Start and End Elements. I believe that the validation can now be managed correctly if there is an error on a hidden tab.
Lastly you can use a single form with hidden blocks - like usable forms - the validation is better with CFv4 but I wouldn't say that I have yet got it working smoothly.[/list:o]
Bob
Hi Bob,
I'm new to this Chronoforms, I like your above solutions (a & b). I'm using Chronoforms (V4) and on Joomla 2.5.9
I was able to create forms with Solution "a", but it does not solve my purpose of recording the form data into the same table (as entries needs to be mapped with User Ids). So I need to opt either solutions b or c or d?
Could you please give me a simple demo with either b,c,d?
All I'm trying to achieve is: if the drop down value is "Yes", it should show several text boxes/drop downs/ buttons etc. If the value is "No", it should show another set of text boxes/drop downs/ buttons etc.
Thank you for this great extension.