On Jul 10, 3:19 am, b logica [EMAIL PROTECTED] wrote:
If the blank option is not selected, how, then, is the blank
displayed? Or, do you just mean that, while a blank option is
included in the select list, it's not selected?
Also, are you 100% certain that that field in that particular row
OOPS! I sorted it out! the problem was I had array('empty' = '')
(ie. empty string) instead of TRUE
soz my bad, Im new to Cake (that's my excuse anyhoo...)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP
If you're using the $form-datetime() method, the last param is a
boolean: true if you want it to be empty. This is also the case for
the day(), month(), and year() methods. These are passed to select()
method.
However, if you're using the $form-input() method (and having Cake
figure out that a
On Jul 9, 8:12 pm, b logica [EMAIL PROTECTED] wrote:
...
However, if you're using the $form-input() method (and having Cake
figure out that a set of dates is required), you need to include
'empty' = true to the options array (note the different key name).
This is precisely the case,
If the blank option is not selected, how, then, is the blank
displayed? Or, do you just mean that, while a blank option is
included in the select list, it's not selected?
Also, are you 100% certain that that field in that particular row is NULL?
Please post your code.
On Wed, Jul 9, 2008 at