Default option is valid

Bevan - January 7, 2009 - 21:25
Project:Admin Role
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Submitting the default option of -- Please Select One -- on user/admin/adminrole is not an error (See attached screenshot). Make $form['adminrole_adminrole'] required and check adminrole_adminrole > 0 in a validation callback.

AttachmentSize
Admin Role | csf.lcl_.png20.67 KB
 
 

Drupal is a registered trademark of Dries Buytaert.