Custom part not working with multipart/formdata

Topics: Writing modules
Oct 31, 2013 at 5:35 PM
I've created a custom Part in code that worked in 1.6.
After the update to 1.7 i can't save the values in the fields that are in the parts. It's a really simple part that just contains a couple of text fields.
It seems to be related to the fact that in 1.7 admin forms are "multipart/formdata", if i remove the enctype dynamically it works.
How can i make sure the binding of my input field works with "multipart/formdata".
Am i missing something?
Any help would be appreciated.
Nov 6, 2013 at 2:12 PM
I found out i wasn't using a prefix for the fields in my part. When i added a prefix it all worked like before.