|
From: Espen Moe-N. <es...@me...> - 2012-06-27 08:54:03
|
> >On 6/22/12 7:36 AM, Espen Moe-Nilssen wrote: > > > >Is it possible to have a PFG embedded form, end redirect to the form (the url of where it is embedded) if some of the fields does not validate ? > > > > > > > > > >Yes. From https://github.com/smcmahon/Products.PloneFormGen/blob/master/Products/PloneFormGen/README_EMBEDDING.txt: > > > >"By default the embedded form uses the current URL as the form's 'action' parameter. > >When the form is rendered upon submission, it will perform validation, run the normal > >action adapters, and redirect to the success page as normal. If you want to submit to > >the form's real location or somewhere else, you can override the action by setting the > >'action' attribute on the 'embedded' view." > For further reference, I updated this: http://plone.org/products/ploneformgen/documentation/how-to/showing-a-form-in-collective.easyslider |