FormFragmentDemo One

A demo on the component FormFragment. The source code of this demo is here.

The form below uses server side validation. Both name and spouseName are required. There are two problems.
  1. Checked married, both name and spouseName are blank. After the form is submitted, name is marked in error. But the spouseName is not visible.
  2. Checked married, both name and spouseName are entered. After the form is submitted, spouseName is null.