I guess I got your question correctly, what u want to do is Pre-Populate the form on loading
I think you have to see the EDIT function in the BLOG tutorial of cakePHP. There we actually PRE-POPULATE the data on the EDIT page . Thanks Karthikeyan P On Thu, Dec 30, 2010 at 8:14 AM, Steve Mallett <[email protected]>wrote: > Hi, > > How do I pass data to a Form from the URL? > > I have add.ctp: > > <?php > echo $this->Form->input('url', array( > 'type' => 'text', > 'value' => $this->params['url'] > )); > ?> > > Hitting localhost/links/add?url=http://cakephp.org produces the following > error: > > Notice (8): Undefined index: action [CORE/cake/dispatcher.php, line 269] > -and- > Notice (8): Undefined index: controller [CORE/cake/dispatcher.php, line > 121] > > > Thanks. > Steve > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
