[Solar-talk] Question about using forms

Paul M Jones pmjones at ciaweb.net
Wed Nov 21 12:07:09 CST 2007


On Nov 21, 2007, at 10:48 AM, Cruz, Darwin wrote:

> i'v tried to implement the manual approach that Paul suggested and  
> can't
> get it to work.
>
> doing:
> 		echo $this->form($this->form);
>
> will show the complete form with both elements.
>
> but when i try:
> 		echo
> $this->formInput($this->form->elements['user_email']);

Sorry, that should have been $this->formText().

You can see the full list of helpers in the Solar/View/Helper/*  
directory.


--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.  <http://solarphp.com>

Join the Solar community wiki!  <http://solarphp.org>

Savant: The simple, elegant, and powerful solution for
templates in PHP.  <http://phpsavant.com>




More information about the Solar-talk mailing list