How to prevent the form from being sent if a condition is met
-
Hi guys,
Apologies if this was already asked and has received answers, I couldn’t find it on a quick look.
I want to prevent users from sending the form if certain conditions are met. For example:
1. User needs to make a selection between Yes and No.
2. If No is selected, they can simply send the form
3. If Yes is selected, they can’t sent the form.And this is how the sortcodes look:
[select* enquiry-condition first_as_label "-- Please select --" "Yes" "No"] [group condition-yes inline] Please go to this page instead: /somepage/ [/group]
The problem is that once the user makes a selection (either Yes or No) they submit the form; I only want them to be able to send it if No is selected.
I hope I haven’t missed this in the documentation.
Appreciate your help greatly.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to prevent the form from being sent if a condition is met’ is closed to new replies.