hi,

my view contains a list generated by a paginator and a filter form:

<?php echo $form->create('Alias', array('action'=>'index')); ?>
<?php echo $form->input('domain', array('value' => $search['domain'],
'options' => array_merge(array("" => "--"), $domains))); ?>
<?php echo $form->input('sendto', array('value' =>
$search['sendto'])); ?>
<?php echo $form->end('OK'); ?>

i would like to skip the "'value' =>" option and use instead of an
Alias model instance. my question is how should i make and set this
instance manually in my controller for the form helper?

thank you and sorry for my bad english.

--~--~---------~--~----~------------~-------~--~----~
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