Making form field mandatory

From ISPWiki

Jump to: navigation, search

For making a form field mandatory, add empty="no" for that field into the xml of the control panel.

Example

To make the "Address" field in the payer edit form mandatory, locate description of that field in billmgr.xml and add empty="no"

       <field name="address">
         <input type="text" name="address" empty="no"/>
       </field>
Was this helpful? Yes | No
Views
Personal tools