kevin
09-15-2000, 03:29 PM
Hello again,
Thank you for the help on my other question. I have another question, the answer to which I have not been able to accomplish myself, I would like to know how to check how many characters are being submittted in a text input field of a form, the range is between 6 minimum and 10 maximum. I am using a line like this:
if ($Password *here will be the code to check for how many characters*) {&doerror;}
I know I can use the maxlength=10 attribute in the input field, but I would still like the script to double-check that. It needs only check how many characters are in the string, not what type of characters they are. The characters entered can be alpha or numeric, lower or upper case, if that makes any difference. Thank you in advance for any responses.
Kevin
Thank you for the help on my other question. I have another question, the answer to which I have not been able to accomplish myself, I would like to know how to check how many characters are being submittted in a text input field of a form, the range is between 6 minimum and 10 maximum. I am using a line like this:
if ($Password *here will be the code to check for how many characters*) {&doerror;}
I know I can use the maxlength=10 attribute in the input field, but I would still like the script to double-check that. It needs only check how many characters are in the string, not what type of characters they are. The characters entered can be alpha or numeric, lower or upper case, if that makes any difference. Thank you in advance for any responses.
Kevin