Re: [Product-Developers] zope.formlib forgetting

2011-03-04 Thread Noe Misael Nieto Arroyo
Hi, Thanks for the pointer! It helped me to get it figured out! Here is the snippet: from Products.Five.formlib.formbase import PageForm from my.product.interfaces import ISimuladorForm class SimuladorForm(PageForm):     form_fields = form.FormFields(ISimuladorForm)     form_reset = False    

Re: [Product-Developers] zope.formlib forgetting

2011-03-03 Thread Vitaliy Podoba
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