Monday, August 31, 2009

Re: Array of input text

Hi guys

thanks you all for this information. Finally I think I'll move forward with this line:

<? echo $form->input('', array('label' => 'URL', 'id' => '', 'name' => 'data[Blogurl][url][]')); ?>

Anyway I need to check how it works once it's POSTed.


If this succeeds OK I'll send you the relevant part of the view; but surely won't work with the saveAll method. Probably I'll write a custom method in the Blog model to save URLs.

Thanks again!




Nicolás Andrade
nmac@nicoandra.com.ar
Blog | CV | Flickr | Del.icio.us | LastFM




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

No comments: