Solved

form

Posted on 1999-01-11
1
199 Views
Last Modified: 2010-04-09
in an <INPUT TYPE=text> form tag is it possible to
specify that the text field can have a maximum of say
3 characters only?
0
Comment
Question by:mramsay
1 Comment
 

Accepted Solution

by:
tgoglia earned 50 total points
ID: 1841594
Yes, all you have to do is set the maxlength attribute to the value that you would like-

<input type='text' maxlength='3'>

The W3C has really good documentation for the various versoins of HTML (ie 2.0,3.2,etc..) on their website http://www.w3c.org
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flexbox in CSS3 2 39
Windows Tool to Build Android and iOS App 3 53
while loop in html mail format 5 57
Jump to a specific point on a responsive page 5 27
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now