Validation: Require one of two questions | XM Community
Solved

Validation: Require one of two questions

  • 30 August 2018
  • 4 replies
  • 16 views

Userlevel 1
Badge +3
How can I require that the customer provide either a phone number or an email? He/she doesn't have to provide both, but must supply one.
icon

Best answer by TomG 30 August 2018, 23:49

View original

4 replies

Userlevel 7
Badge +13
Hey @red5! It looks like this question involves our Research Core platform, rather than the Website/ App Feedback product. Thus, I have gone ahead and moved this discussion to the correct category!
Userlevel 7
Badge +27
Assuming you are using a Text Entry form, use custom validation with the condition "Phone is not empty OR Email is not empty".
Userlevel 4
Badge +3
@red5,

You can achieve this by creating a form and then apply the custom validation.
Step 1:
!
Step 2:
!
Userlevel 1
Badge +3
@TomG @Eesh :
Thank you both. This works great. Thank you for the screenshot. It's helpful to a tired Noob.

Leave a Reply