Recent searches
No recent searches
Preventing form submission based on option slected
Posted Nov 08, 2023
Hello,
I've created a form with many fields on it, however I'd like to prevent the user from proceeding and submitting the form if a certain option is selected/not selected in one of the first dropdowns.
For example, you could have a dropdown like "Do you really want to submit this form? | Yes / No", and if No is selected, we do not display any remaining fields, and don't allow form submission.
I tried using conditions, but I could only selectively "show" the remaining fields below it if the positive option is selected... however this breaks all of the remaining conditional logic further down (bad).
I will probably end up doing it with JS but if there is an easier / cleaner method I would like to know.
thanks
5
4 comments
Shawna James
1
Milena Rusanova
+1 for this feature
0
Sydney Neubauer
+1 I can see a workflow in place where they answer all the conditional fields but if it leads to not being an issue and there is an article, they can't submit a ticket (i know bot builder can do this but it should be for form submissions too)
Another example, think about submissions that REQUIRE manager approval - if they check the box that says they did not get manager approval, they can't submit
0
Matthew Flack
+1 as well
0