Java Inter-Field Validation Example 1

When Male is selected the Maiden Name field is disabled and you can not type into it. When Female is selected the Maiden Name field becomes enabled.
You need Java to see this program. Applet Source

This is a similar example but in this case the Maiden Name field is removed or added to the display based on the gender selection.
You need Java to see this program. Applet Source

In this example, the Phone Number field is checked for numeric characters and length based on the Choice selection of Local or Long Distance. The validation is done when the Choice is changed or the Validate button is clicked.
You need Java to see this program. Applet Source