I’m creating a form in modx 0.9.6.3 and having problems with validation for the select option. How do I code so that that a selection is required other than the ’please select’ otpion?
eg:
<p>Number of dedicated HR staff :</p>
<select name="HRStaffNo" eform="Number of HR staff::1" />
<option selected="selected">Please select...</option>
<option value="staff1">1</option>
<option value="staff2">2</option>
<option value="staff3">3</option>
<option value="staff4">4</option>
</select>
I’m sure it’s very simple but I can’t find any information online about validation; does anyone have any ideas or can point me to any articles describing validation in more detail than what’s on wiki?