NAME OF RESPONDENTS

Discussions about CSEntry
Post Reply
ada
Posts: 5
Joined: August 29th, 2019, 4:26 am

NAME OF RESPONDENTS

Post by ada »

How do I restrict the entry of "Name of persons" to two word? e.g "John Joseph" not John george Joseph"
aaronw
Posts: 565
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: NAME OF RESPONDENTS

Post by aaronw »

You can use regexmatch to enforce the format. However, you need to be careful not to disallow valid names. Here's a blog post that explains its use further.
Post Reply