Author Topic: How to set maximum length in input type=text to certain character  (Read 29866 times)

omi

  • Newbie
  • *
  • Posts: 13
Hi
I am still in learning phase. I am dealing with a form where I need to take some character, I want that it should not be more than 8 character. I am using text field.

Below is the example code, now what should I add in it to set maximum limit ?
Code: [Select]
<input type="text" name="userid" />
Thanx in advance for help!

 

X

Do you know?

IfAndBut.com gives you a platform where you can ask questions related to web and internet..
So, why wait..
Join Now!

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.
Back