Re: CakePHP 1.2 - Form select

2007-10-18 Thread silid

I could do with finding a good tutorial too.

I found the samples at http://www.donutczar.com/cake1point2/donuts/form_helper

They are a good start.

On Oct 14, 4:49 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Its okay now. I just add 1 null value to the attribute of select
>
> before it was...
> echo $form->select("gender", array("" => "- Select One -", "M" =>
> "Male", "F" => "Female"), null, false);
>
> after..
> echo $form->select("gender", array("" => "- Select One -", "M" =>
> "Male", "F" => "Female"), null, null, false);
>
> Can't seem to find a good tutorial for CakePHP 1.2, do you have any
> recommendation?
>
> thanks,
>
> Wendell


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CakePHP 1.2 - Form select

2007-10-13 Thread [EMAIL PROTECTED]

Its okay now. I just add 1 null value to the attribute of select

before it was...
echo $form->select("gender", array("" => "- Select One -", "M" =>
"Male", "F" => "Female"), null, false);

after..
echo $form->select("gender", array("" => "- Select One -", "M" =>
"Male", "F" => "Female"), null, null, false);

Can't seem to find a good tutorial for CakePHP 1.2, do you have any
recommendation?

thanks,

Wendell


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CakePHP 1.2 - Form select

2007-10-13 Thread Wayne Fay

You'll need to provide more information about what you're doing and
what is happening. Many of us are very successfully using select boxes
in our forms with Cake 1.2, so it seems to be something specific to
your environment or your code.

Wayne

On 10/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to put up a registration form for my website but
> unfortunately I encountered this problem, I can't retain the form-
> >select value during validation. How can I retain the value being
> selected on my $form->select while on the process of validation. I've
> been trying to search for answers using google but I havent found one.
> I'm using CakePHP 1.2alpha.
>
> Hope someone could help me.
>
> Thank you very much.
>
>
> Regards,
>
> Wendell
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



CakePHP 1.2 - Form select

2007-10-13 Thread [EMAIL PROTECTED]

Hi,

I'm trying to put up a registration form for my website but
unfortunately I encountered this problem, I can't retain the form-
>select value during validation. How can I retain the value being
selected on my $form->select while on the process of validation. I've
been trying to search for answers using google but I havent found one.
I'm using CakePHP 1.2alpha.

Hope someone could help me.

Thank you very much.


Regards,

Wendell


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---