From: David <da...@df...> - 2004-02-26 20:14:43
|
Hello, a very useful formsess feature would be $fs->add_hidden($name, $value) for adding hidden fields to the form. Passing data from one form to another is a very common task and that feature would simplify it a lot. There's also a feature request on sf.net for that. What I suggest is adding a property _additional_fields and a method add_hidden(_field?))($name, $value) which saves key=>value pairs to that variable to the Formsess class and to loop through the array in the form-tag class and output the fields. What do you think about that? - david |