My EntryAdmin form needs three or four extra fields for different Campaigns defined by users and handled via entity CampaignProperties then appended via ajax dynamically when corresponding radio button is checked.
I have an EntryProperty table which then should store entry_id, property_id and value.
My intention was to save the extra fields on Entry entity's postPersist event.
I have extended the edit.html.twig which appends fields on the form fine but now I'm stuck when it comes to persisting as extra fields throw the error 'This form should not contain extra fields.'.
Anyone with a idea how to solve this?
Cassiano Valle Tartari
MSc. Computer Engineer
Tel: +55.48.84474818
Email: fal...@cassianotartari.eng.br
Site: http://www.cassianotartari.eng.br
--
You received this message because you are subscribed to the Google Groups "sonata-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonata-users...@googlegroups.com.
To post to this group, send email to sonata...@googlegroups.com.
Visit this group at http://groups.google.com/group/sonata-users.
For more options, visit https://groups.google.com/d/optout.