Open form according to a field

g.pierini 10 Dec, 2018
Hi all,

I need to configure a form as follows:

1. Customers see a radio button "yes / no"
2. A - Clicking on "yes": the get the full form / B - Clicking on "no" they get a message like "I'm sorry the service is not available for you".



Could you please help me?



Thank you in advance
GreyHead 10 Dec, 2018
Hi g.pierini,

Build a multi-page form with this as the first page, then in the second page add an event switcher to check the radio button setting.

Bob
g.pierini 10 Dec, 2018
Hi Bob,

I did that as you suggested but it doesn't work, how can I pass to section 2? Shall I put a button? with it I get an error for the captcha, without it instead, I remain at section one, I changed the field from radio to dropdown
healyhatman 10 Dec, 2018
1 Likes
Two ways.

Put everything in a Fieldset Area, except for your first Yes/No radio.
In the radio, under Events, On select => 1 (or yes) => Show + Enable => #id_of_the_fieldset_area (including the #). Then do the opposite for the No / 0 option. (Use the radio VALUES not the radio LABELS.


Second way, like Bob is saying, have your Yes/No radio and a Submit button. The rest of your form should be in a separate section (there's an input box at the bottom of the design tab for you to add a new section). In your submit action, you need an event switcher - set the events to 0,1 (or whatever your two values are) and hit Update Events. In the Yes box, drag a display section action, change the name from "One" to whatever you've called your second section.
g.pierini 10 Dec, 2018
Thank you!

Is it possible to avoid the error of the captcha?

I set this dropdown field (yes/no) as popup which keeps coming out even when it is selected yes or no, I'd like to keep away the popup once I've selected one of the 2 values.
healyhatman 10 Dec, 2018
I don't understand, what problem are you having with the captcha?
g.pierini 10 Dec, 2018
I hope to be clearer:


Page 1 --> YES --> submit button

Gets to page 2 with at the top, the error of reCAPTCHA saying that it is not valid.

I just want: Pagine 1 --> yes --> submit --> page 2 --> submit and then check the captcha, not before.

Is it normal to get page 1 under page 2 when I get to it?
healyhatman 10 Dec, 2018
1 Likes
So you will need to create another action, let's say call it form_submit, and in the Display Section action that displays the full form THAT is where you need to put your check captcha action and all the other actions you want to run after submitting the full form.
g.pierini 10 Dec, 2018
Ok, understood!

I did as suggested, now the form:
-Checks the captcha when needed
- doesn't send the email and the confirmation message to the user anymore

I'm sorry to stress you, thanks for your kindness
healyhatman 10 Dec, 2018
I'm sure you'll figure it out. I'm very sleepy so give it a go.
This topic is locked and no more replies can be posted.