• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Limit the textarea box

Participant ,
Oct 30, 2006 Oct 30, 2006

Copy link to clipboard

Copied

Do you know how to limit the textare boxes ? Means I dont want any user enter more 2,00 character in a textarea box..
TOPICS
Advanced techniques

Views

333

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 30, 2006 Oct 30, 2006

Copy link to clipboard

Copied

use javascript

<textarea onkeyup="if(this.value.length>200){this.value=this.value.substr(0,200)}"></textarea>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 31, 2006 Oct 31, 2006

Copy link to clipboard

Copied

If you are using cf 7, you can use the cftextarea tag.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 01, 2006 Nov 01, 2006

Copy link to clipboard

Copied

LATEST
Thank you all

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation