View Full Version : length of a text box

07-25-2002, 03:27 PM
How do I return the amount of characters in a text box? I tried textbox.length but it returned an undefined value. Any thoughts?

07-25-2002, 04:11 PM
myLenght = document.FormName.FieldName.value.length

You need the lenght of the value.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum