Is there Javascript to limit an answer choice to a single word? | XM Community
Skip to main content
Solved

Is there Javascript to limit an answer choice to a single word?

  • July 30, 2020
  • 2 replies
  • 10 views

Forum|alt.badge.img+3

Is there Javascript to limit an answer choice to a single word in an open-end text field?

Best answer by rondev

We can use this regex in custom validation - ^[A-Za-z]+$

2 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Answer
  • July 30, 2020

We can use this regex in custom validation - ^[A-Za-z]+$


Forum|alt.badge.img+3

Perfect. Thank you!