Validation question | XM Community
Skip to main content
Solved

Validation question

  • May 15, 2019
  • 4 replies
  • 5 views

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.

Best answer by Anonymous

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.

4 replies

  • 0 replies
  • Answer
  • May 15, 2019
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.

  • Author
  • 4 replies
  • May 15, 2019
Thanks Shashi! Would it work on a drill down list? APologies new to JS. Thanks again for input.

  • 0 replies
  • May 15, 2019
> @LeeMer said: > Thanks Shashi! Would it work on a drill down list? APologies new to JS. Thanks again for input. Yes!

  • Author
  • 4 replies
  • May 15, 2019
Thanks a million