Validation question | XM Community
Solved

Validation question


Hi all

Just want to chek - Is it possible to check an answer for a question against the same field earlier on in the survey? Thus in essence ask the same question twice in a survey and compare answers in order to ensure consistency. If answer dont match, we need to have a custom message telling the respondent to recheck earlier answers for consistency.

We want to ensure the field manager field for F2F app is filled in correctly as an added validation.

Much thanks for any input.
icon

Best answer by Anonymous 15 May 2019, 16:37

View original

4 replies

Hello @LeeMer ,

You can use custom JS to compare the current question response and previous question response and then show an alert message based on the comparison result.
Thanks Shashi! Would it work on a drill down list? APologies new to JS. Thanks again for input.
> @LeeMer said:
> Thanks Shashi! Would it work on a drill down list? APologies new to JS. Thanks again for input.

Yes!
Thanks a million

Leave a Reply