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

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


Badge +1

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

icon

Best answer by rondev 30 July 2020, 16:24

View original

2 replies

Userlevel 7
Badge +22

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

Badge +1

Perfect. Thank you!

Leave a Reply