Currently, when a form gets generated from a model class, there is no visual indication of which form fields are required. The user must first submit the form before getting feedback about which form fields are required.
Proposed fixes
For each form input that gets generated from a model property annotated with a RequiredAttribute, include additional markup to indicate that the field is required. For example:
Overview
Currently, when a form gets generated from a model class, there is no visual indication of which form fields are required. The user must first submit the form before getting feedback about which form fields are required.
Proposed fixes
For each form input that gets generated from a model property annotated with a
RequiredAttribute
, include additional markup to indicate that the field is required. For example:Before
After