Thanks,
Will give it a try.
Dave
-Original Message-
From: brian [mailto:bally.z...@gmail.com]
Sent: October-04-09 1:29 PM
To: cake-php@googlegroups.com
Subject: Re: showEmpty?
I believe it's 'empty => 'Select your State'. If the param is false, null,
or
State Alabama is automatically saved.
>
> $selected = array('option' => 'Select your State', 'value' => '0')?
>
> Thanks,
>
> Dave
> -Original Message-
> From: Miles J [mailto:mileswjohn...@gmail.com]
> Sent: October-04-09 7:3
$selected = array('option' => 'Select your State', 'value' => '0')?
>
> Thanks,
>
> Dave
>
> -Original Message-----
> From: Miles J [mailto:mileswjohn...@gmail.com]
> Sent: October-04-09 7:35 AM
> To: CakePHP
> Sub
up first and if a user does
not select a State Alabama is automatically saved.
$selected = array('option' => 'Select your State', 'value' => '0')?
Thanks,
Dave
-Original Message-
From: Miles J [mailto:mileswjohn...@gmail.com]
Sent: October-0
09 at 7:21 AM,
> gimperdan...@gmail.com wrote:
>
> [..snip..]
>
> > This is what I have:
>
> > echo $form->select('State', array('NJ' => New Jersey', 'NY' => 'New
> > York'));
>
> > I want to remove the e
On Sun, Oct 4, 2009 at 7:21 AM, gimperdan...@gmail.com
wrote:
[..snip..]
> This is what I have:
>
> echo $form->select('State', array('NJ' => New Jersey', 'NY' => 'New
> York'));
>
> I want to remove the empty option of thi
I am new to cake... i have been doing a lot of reading, but somethings
i still can't figure out.
This is what I have:
echo $form->select('State', array('NJ' => New Jersey', 'NY' => 'New
York'));
I want to remove the empty option of thi
'selected' => null,
'attributes' => array(),
)
);
I read in the dateTime options that the default behaviour is to show
an empty default value (as showEmpty = true is the default), so I
didn't pass anything because I want an empty
d I though this would work:
>
> > echo $form->input('institution_id',array("label"=>"Institution *",
> > "class"=>"input", "div"=>"input mandatory", "selected"=>$preSelect-
> > >
uot;, "div"=>"input mandatory", "selected"=>$preSelect-
> >select("institution_id")),null,null,"Please Select");
>
> and
>
> echo $form->input('institution_id',array("label"=>"Institution *&
uot;class"=>"input", "div"=>"input mandatory", "selected"=>$preSelect-
>select("institution_id")),null,null,"Please Select");
and
echo $form->input('institution_id',array("label"=>"Insti
11 matches
Mail list logo