formGroup

labelfalsejava.lang.StringIndicates the label of the group
idfalsejava.lang.StringIndicates the id of the group
forElementfalsejava.lang.StringIt indicates the element to be oriented the label
requiredfalsejava.lang.BooleanIndicates whether the completion of the internal component should be mandatory
renderedfalsejava.lang.BooleanIt indicates whether the component should be rendered
visiblefalsejava.lang.BooleanIt indicates whether the component should be visible

Fields marked with * are required

Please fill all required fields marked in red below
 
<html:view>
<html:form action="#">
<html:formGroup forElement="field1" label="Campo 1" required="true">
<html:input required="true" name="field1"/>
</html:formGroup>
<html:formGroup label="Campo 2">
<html:input name="field2"/>
</html:formGroup>
</html:form> </html:view>