[Solar-talk] Question about using forms
Cruz, Darwin
Darwin.Cruz at gd-ais.com
Tue Nov 20 13:45:28 CST 2007
In my controller file i've created a from with two elements:
$this->invForm= Solar::factory('Solar_Form');
$this->invForm->setElement('user_email',
array(
'type' => 'text',
'label' => 'Email Address:'
));
$this->invForm->setElement('process',
array(
'type' => 'submit',
'label' => 'Action:',
'value' => 'Save',
));
In my corresponding view i have the following to show the form i have
created:
<?php
echo $this->form($this->invForm(user_email));
?>
In the view both the text box and the submit button are shown. But i'm
trying to break those up to be formatted in a table i'm building.
My question is, how can i only show the user_email portion of the form?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman-mail3.webfaction.com/pipermail/solar-talk/attachments/20071120/21c6d337/attachment-0001.html
More information about the Solar-talk
mailing list