I'm asking each respondent for their phone number. To make sure, it doesn't contain any typos, I've added another question asking them to re-enter it. The two questions are separated by a page break, which is necessary to use piped text in the confirmation question. The confirmation question checks whether the two phone numbers are the same and if not, you cannot continue to the end of the survey. Since my survey does not have a back button, if a respondent did enter a typo in the first question, they might get stuck at the confirmation and never complete the survey.
What is the best way to confirm their phone number? Could you check whether two phone numbers are the same within the same question using some custom code? (this would be my preferred option, if possible) Could you jump to the end of the survey once the phone number has been entered wrongly three times?
I'd strongly prefer not to use a back button.
In case it makes any difference, the first question validates that the format of the phone number is correct using a regex.
Solved
Best way to confirm (re-enter) phone number
Best answer by TomG
https://community.qualtrics.com/XMcommunity/discussion/19568/best-way-to-confirm-re-enter-phone-numberYou can do this in one form field question:
- Phone is the first field, Phone confirm is the second field.
- Change validation of both fields to the applicable phone number type (e.g. US Phone Number)
- Get the piped value of the second field (temporarily pipe it into the question text then copy it)
- Add custom validation to the question. The condition is the first field should equal the piped value of the second field (paste from copy in (3) above.
- Choose or create an applicable validation error message.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
