vinyla
04-07-2008, 04:20 PM
1) Script Title: Form Field Limiter
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/limitinput.htm
3) Describe problem:
I have installed the script on a page that allows the user to edit text fields from a database and it works as it should, however...
When the page loads all the field limit display counters show the limit value specified when calling the displaylimit script, even when there is already text in the field.
Can anyone advise how the script could be modified so that when it is called it checks to see how many characters are already in the related form field?
Thanks,
Chris.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/limitinput.htm
3) Describe problem:
I have installed the script on a page that allows the user to edit text fields from a database and it works as it should, however...
When the page loads all the field limit display counters show the limit value specified when calling the displaylimit script, even when there is already text in the field.
Can anyone advise how the script could be modified so that when it is called it checks to see how many characters are already in the related form field?
Thanks,
Chris.