Dreamweaver

Block invalid characters

You can prevent your users from entering invalid characters in a Validation Text Field widget. For example, if you select this option for a widget set with the Integer validation type, nothing appears in the text field if the user tries to type a letter.

  1. Select a Validation Text Field widget in the Document window.
  2. In the Property inspector (Window > Properties), select the Enforce Pattern option.