[html-formfu] How to restore information for the confirm page?

Carl Franks fireartist at gmail.com
Wed Nov 26 18:32:16 GMT 2008


2008/11/26 Hu Hailin <i at h2l.name>:
> Hi,
>
> a form submitting is often used in such a way:
> input -> confirm -> result
>
> for app, $form->params is enough.
>
> but, at the confirm page, it is expected to display the information
> again for customers.
> is it possible to implement something like $form->params_for_human?

I'm not sure what you're asking for.
$form->params() returns a data structure.
What are you suggesting params_for_human() should return?

Are you meaning something comparable to $form->render(), which returns
XHTML, but as just labels/values, rather than form fields?

Carl



More information about the HTML-FormFu mailing list