Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Character count in text field Javascript

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

lomokev

Established Member
Impact
1
can anybody point me in the right direction of a script that will check the amount of characters in a form field field as the user types in it and as soon as there reach a certon amount an alert will pop telling them they have typed to much?
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
Close
Kinda off topic but I know you can also do this in PHP.
 
0
Close
to do it in php the form would have to be submitted first javascript can do a check on the client side first. By all means tho it is best practice to check server side as well to ensure the client hasnt bypassed checks ie by turning javascript off.
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back