View Full Version : Preset mask for input components
10-30-2006, 07:35 PM
Is there anyone that know an easy solution to preset input fields in a form with masks. Text or Numric masks... phone number for instance? Thank.
10-30-2006, 08:13 PM
What is it that you are trying to do?
phone numbers for instance?
Do you want to provide an input element that will accept and format telephone numbers?
Are there any other types of "masks" that need validation?
I use three methods for validating text input elements:
1. per keystroke validation:
The input element is validated every keystroke and invalid keys are ignored.
2. validation onBlur or onChange:
The input element is validated when the element looses keyboard focus.
3. onSubmit validation:
The input element is validated when the user presses submit, and prompted to fix any errors.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.