Submit button, different load page
Hi guys.
I'm need around here and I could really use your help.
I'm making a form, and I need to load a different container after the submit, according to the option on the radio box.
So, I have a radio box with the options:
0=yes
1=no
If you select yes, I want the submit button to load a container where is a Texbox for you to put your name.
But if you select no, it would be another container, with a Texbox to put your adress.
I'm really noob at programming and at the Joomla, so can someone help me?
Thank you all for your time🙂
I'm need around here and I could really use your help.
I'm making a form, and I need to load a different container after the submit, according to the option on the radio box.
So, I have a radio box with the options:
0=yes
1=no
If you select yes, I want the submit button to load a container where is a Texbox for you to put your name.
But if you select no, it would be another container, with a Texbox to put your adress.
I'm really noob at programming and at the Joomla, so can someone help me?
Thank you all for your time🙂
Hi TeemoGirl,
This can be done by building a "multi page" form (there is a demo form in the v5 installer, please check it carefully) and you will need to do some page "branching", there was a recent topic about this here:
https://www.chronoengine.com/forums/posts/f2/t95888/branching-in-mutipage.html
Regards,
Max
This can be done by building a "multi page" form (there is a demo form in the v5 installer, please check it carefully) and you will need to do some page "branching", there was a recent topic about this here:
https://www.chronoengine.com/forums/posts/f2/t95888/branching-in-mutipage.html
Regards,
Max
Thank you a lot Max, I got to made it by a Event Switcher and it was something like this:
http://imgur.com/lAxVQp3
But now, after you have put your name or adress (the restriction made previously), it leads you to a dropdown menu, where are the options (like you can see in the following image):
- 5 persons
- 10 persons
http://imgur.com/aA6rGkV
So, my question is: If you select 5 persons, you will have a question about your food preferences, but if you have choose 10 persons, it will be another page, with your drinking preferences.
I have tryed with the Event Switcher again, but I guess it isn't like that, because we don't have another "submit" event to use.
Can you help me please? Dont forget I'm really a newby at this xD
http://imgur.com/lAxVQp3
But now, after you have put your name or adress (the restriction made previously), it leads you to a dropdown menu, where are the options (like you can see in the following image):
- 5 persons
- 10 persons
http://imgur.com/aA6rGkV
So, my question is: If you select 5 persons, you will have a question about your food preferences, but if you have choose 10 persons, it will be another page, with your drinking preferences.
I have tryed with the Event Switcher again, but I guess it isn't like that, because we don't have another "submit" event to use.
Can you help me please? Dont forget I'm really a newby at this xD
Hi TeemoGirl,
Sorry for not replying earlier, missed few replies lately!
You will need a multi page form, since your form has multiple steps/hops, that's regardless of the switching you do, did you check the topic I linked to earlier ? it has a full example on how a similar problem was solved!
I suggest that you check the multi page demo form and understand how it works, then you can build your form, since you know how to use the event switcher.
Regards,
Max
Sorry for not replying earlier, missed few replies lately!
You will need a multi page form, since your form has multiple steps/hops, that's regardless of the switching you do, did you check the topic I linked to earlier ? it has a full example on how a similar problem was solved!
I suggest that you check the multi page demo form and understand how it works, then you can build your form, since you know how to use the event switcher.
Regards,
Max
This topic is locked and no more replies can be posted.