Open petri opened 11 years ago
Would each PFG instance be configured to edit a fixed content item, or should there be a way to select the content item to be edited each time the form is opened?
Major issue would be, how to pre-fill fields from the edited content type when opening the form.
This would require a new default view for PFG to be shipped with c.pfg.dexterity. That default view would look up the edited content type, fill-in the request with default values and then call the original view to actually render the form. POST-request would be passed to the original view as such.
Might be doable.
This feature would make it easy to create nice custom content edit forms TTW using PloneFormGen.
It would require for example adding a TALES field that would return the the object to be edited.