Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
vargatom




Joined: Nov 21, 2009
Posts: 7

PostPosted: Sun Oct 30, 2011 3:32 pm
Reply with quote

Hello,

I would like to make a modul with a textarea Form Field Limiter script but it never not work.
I have no more idea.
Anybody help me pls?

The scipts are here:
http://www.blueshoes.org/_bsJavascript/components/limitedtextarea/examples/example2.html
http://www.dynamicdrive.com/dynamicindex16/limitinput.htm


vt
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Mon Oct 31, 2011 7:19 pm
Reply with quote

Why do you need to do all that when you can simple add maxlength="XX" (where XX is your character limit) to your existing text area?

All user inputted data should be validated so you could always add a small snipper ot code to your validation routine as well.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©