Re: Required date field isnt being checked in the JS for FormBuilder

From: Date: Fri, 20 May 2005 02:01:08 +0000
Subject: Re: Required date field isnt being checked in the JS for FormBuilder
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19289@lists.php.net to get a copy of this message
On 20/05/2005, at 10:11 AM, Justin Patrin wrote:
So you've altered formbuilder to make *everything* required? Either fields are allowed to be NULL or they're NOT NULL. FormBuilder already sets any field that DB_DataObject lists as NOT NULL (DB_DATAOBJECT_NOTNULL) as required. Altering FormBuilder to make NULLable fields required would make all fields required. You're not making much sense, please slow down and explain. How are you setting the "default" as "empty"? Are you using selectAddEmpty? -- Justin Patrin
I meantioned it before a new setting $fb_fieldsRequired = array('date'); It will then make a rule for my dates which are NULL, I have not tried to make everything required. I will make a diff this weekend.

« previous php.pear.general (#19289) next »