Is there away to limt cftextarea by word not characters? I need to limit my form to 250 words. is there a way to do this?
yankeefan24
0
Junior Poster in Training
Recommended Answers
Jump to PostI doubt there is anything built in, but you could roll your own. Grab the textarea value, split it on some sort of word boundary (space, etcetera) and validate.
Jump to PostWorked fine for me. Maybe you've got an error in your code? Also what's your CF version?
All 8 Replies
arrgh
22
Posting Whiz
yankeefan24
0
Junior Poster in Training
arrgh
22
Posting Whiz
yankeefan24
0
Junior Poster in Training
arrgh
22
Posting Whiz
yankeefan24
0
Junior Poster in Training
danarashad
17
Light Poster
danarashad
17
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.