I am trying to validate the amount fields if only the question above has a value of “yes”. Say, you pick yes for question 1, it will ask for a valid number as an amount for question number1.
However, if I select no for the rest of the questions, the form won’t submit because it’s still asking for valid amounts for question number 2 thru number 5.
Is there a way to do this?
thanks in advance.
This works: