A demo on the component
The source code of this demo
The form below uses server side validation. Both name and spouseName are required.
There are two problems.
- Checked married, both name and spouseName are blank. After the form is submitted,
name is marked in error. But the spouseName is not visible.
Checked married, both name and spouseName are entered. After the form is submitted, spouseName