Hi,
I would like to pass the argument "patientId" to my add action and
save this as a hidden field in my form.
The URL I call is this:
/icd_events/add/patientId:1
Two questions:
1.How do I access this argument in my controller and pass it on to the
view?
2.How do embed this as a hidden field in my form? I have tried with
this:
echo $form->hidden('patient_id');
But it doesn't work.
Thanks
/Anders
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---