Posted by : Jebastin Tuesday 21 January 2014

By using the following attribute we can easily limit the number of characters allowed in form input text field.
maxlength="10"
Adding this attribute to your control:
<input type="text"
    id="txtPhone"
    name="Phone"
    maxlength="10" />

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Link To This Post/Page

Spread The Word

Add this button to your blog:
JJ Technology Solutions

Blog Archive

Trackers

eXTReMe Tracker
facebook

- Copyright © JJ Technology Solutions - Powered by Source Code Solutions -