On 7/19/07, gmarziou <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
> In 1.2, I tried this:
>
>         <?php echo $form->input('id');?>
>
> It generates a *hidden* input field when the filed is the primary key:


Thats because it is presumed that most people will use it as hidden (and
probably do)

Try <?php echo $form->input('id', array('type'=>'text');?>

T

-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to