This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » legacy support » symfony 1.2 » How to set data to a custom form?
icon5.gif  How to set data to a custom form? [message #98092] Tue, 27 April 2010 07:41
dArignac  is currently offline dArignac
Messages: 4
Registered: November 2008
Junior Member

I'm having a customized form extending BaseForm that is not build upon a model class. There's a sfWidgetFormChoice widget within it.
In the action class I'm instantiating the form and giving in the request parameters. But how can I fill e.g. the choices of the sfWidgetFormChoice with data, I have within the current method in the action class?
Understand me, I'm having some checks in the action method that affect the number of coices of the sfWidgetFormChoice.

Thanks in advance!
Previous Topic:[SOVLED] time_ago_in_words & I18N
Next Topic:import excel
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software