Hi,

I think you have to customize 'update' method in your form class and not 
set 'form_reset' attribute to True when form is successfully posted and 
validated. Or take a look into EditFormBase class which, I believe, 
shouldn't reset form after saving data.

Regards,
Vitaliy Podoba


In article 
<aanlktim+tz2gp8ubqbeojzpsdeejgixsanvgiqs_i...@mail.gmail.com>,
 Noe Misael Nieto Arroyo <n...@iservices.com.mx> 
 wrote:

> I'm working on a zope.formlib for Plone 4. Validation works fine and after I
> submit it (it submits to itself) the results are displayed below all the
> form fields.
> 
> The problem is that, now that the results have been displayed, the
> information I put in the fields is no longer there. I have to fill-in the
> form again in order to retrieve more results.
> 
> How do I make my PageForm to "remember" the field values between requests?
> 
> --
> Noe
> PD: (Can paste code if needed)
> ---------------------------------------------------------------------
> _______________________________________________
> Product-Developers mailing list
> Product-Developers@lists.plone.org
> https://lists.plone.org/mailman/listinfo/product-developers

_______________________________________________
Product-Developers mailing list
Product-Developers@lists.plone.org
https://lists.plone.org/mailman/listinfo/product-developers

Reply via email to