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

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

  • Jul 30, 2020 1:52 PM UTC
  • 2 replies
  • 25 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]+$

View original

2 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Answer
  • Jul 30, 2020 2:24 PM UTC

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


Forum|alt.badge.img+3

Perfect. Thank you!