[Solar-talk] form helper hack

Rodrigo Moraes rodrigo.moraes at gmail.com
Thu Aug 10 07:29:14 PDT 2006


Here's a form helper hack:

Add an optional parameter to fetch() to define if  <form></form> will
be displayed or not (default = true). Why? Sometimes a form may be
complex and have options in a side bar. They all need to be enclosed
in the same <form></form>. take for example Wordpress' "publish"
screen. How would you do that using the current form helper?
Disallowing <form></form> and then adding it by hand in the start and
end of your view (or maybe the form helper could provide a method to
create <form>). Then you can add many form "blocks" to be proccessed
by the same form object. Hope this makes sense.

rodrigo


More information about the solar-talk mailing list