NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page charicter count in text field javascript

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-29-2004, 01:22 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Aug 2004
Location: brighton, uk
Posts: 18
lomokev is an unknown quantity at this point
 



charicter count in text field javascript


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?
lomokev is offline  
Old 11-29-2004, 07:20 PM   #2 (permalink)
NamePros Regular
 
CreativeLogic's Avatar
Join Date: Sep 2003
Posts: 890
CreativeLogic has a spectacular aura aboutCreativeLogic has a spectacular aura about
 



http://javascript.internet.com/forms/word-counter.html
__________________
Online Time Tracking :)
CreativeLogic is offline  
Old 11-30-2004, 08:06 PM   #3 (permalink)
NamePros Regular
 
Nunim's Avatar
Join Date: Oct 2004
Location: Florida
Posts: 384
Nunim is an unknown quantity at this point
 



Kinda off topic but I know you can also do this in PHP.
Nunim is offline  
Old 12-01-2004, 12:21 AM   #4 (permalink)
NamePros Expert
 
Peter's Avatar
Join Date: Nov 2003
Location: Scotland
Posts: 5,069
Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute
 


Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
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.
__________________
Manage your portfolio using my new Domain Portfolio Management script.
Securing Your Domain Name From Theft
Peter is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:23 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger