timeOptions and dateOptions methods for FormBuilder :)

From: Date: Tue, 10 May 2005 06:44:53 +0000
Subject: timeOptions and dateOptions methods for FormBuilder :)
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19142@lists.php.net to get a copy of this message
Ok for the life i me i couldnt find these in the docs, I had to sift through the API luckily its in PHP :) I now have my time and dates with emptyoptions which are set as NULL, as it was causing alot of issues, especially when i was to use it for searching (required not null fields i'll get to in a sec). Here is how i did it. in the do function timeOptions(){return array('addEmptyOptions'=>true);} Now my big question, how can i set global for a certain page that no fields are required especially for not null fields. This is important for a search form where i want to build the entire form but only make a few fields as required. I'll be going through the code if it requires tweaking ...

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