FP: Sample DHTML to Compare Two Passwords (277477)
The information in this article applies to:
- Microsoft FrontPage 2002
- Microsoft FrontPage 2000
This article was previously published under Q277477 SUMMARY
In Microsoft FrontPage, when you use the HTML password text box to input data on a form, the text is not displayed to the browser. For example, in Microsoft Internet Explorer, asterisks appear in place of each character that you type. This can make it impossible to verify if the information entered is correct.
In addition, in FrontPage, the built-in form validation does not allow you to compare two text boxes to allow you to enter the same password twice to confirm a match.
You can use Dynamic HTML (DHTML) to compare the information typed in two password text boxes before you submit a form. This article provides sample DHTML code that checks the values in two password fields, displays a message box if the fields do not match, and prevents you from submitting the form results if they don't match.
NOTE: This article includes custom DHTML that may not be available in all browsers. For more information about compatibility with other browsers, click Microsoft FrontPage Help on the Help menu, type compatibility in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 6/18/2005 |
---|
Keywords: | kbinfo KB277477 |
---|
|