I'm trying to add custom validation (i.e. number entered needs to be between x and y otherwise show the message: 'please enter a valid postal code') for people who select that they currently reside 'Within the U.S.' (see below for screenshots). However, when I test the survey and select' Outside of the U.S.' (this should terminate the respondent from the survey), it's also applying the custom validation message ('please enter a valid postal code').
Any idea what I'm doing wrong? Any suggested alternatives?
!
!
!
Best answer by JenCX
Can you just use the built-in functionality instead?
!
Either way, you'll want to apply it just to the first option instead of the whole question.
> @Beyond said:
> I'm trying to add custom validation (i.e. number entered needs to be between x and y otherwise show the message: 'please enter a valid postal code') for people who select that they currently reside 'Within the U.S.' (see below for screenshots). However, when I test the survey and select' Outside of the U.S.' (this should terminate the respondent from the survey), it's also applying the custom validation message ('please enter a valid postal code').
>
> Any idea what I'm doing wrong? Any suggested alternatives?
>
> !
> !
> !
>
Add a new logic set - ORwith the condition "Outside the US" is selected.