// assuming this is the customer_contacts/get view
echo $this->Form->create();
echo $this->Form->input('customer_id', array('id' => 'customer'));
echo $this->Form->input('customer_contact_id', array('id' => 'customercontact'));
echo $this->Form->input('customer_
echo $this->Js->submit('Submit form', array('update'=> '#customercontact'));
echo $this->Form->end();
Then when the user submits the form, it will actually POST to /customer_contacts/get and the resulting view will replace the #customercontact element.
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
No comments:
Post a Comment