Custom form field names in collective.easyform

How can I change the name of a form field created with collective.easyform?

When using an external action for the form I am required to have certain field names. Although I change the name of the field, when the form is rendered the value of the "name" attribute on the input field is not the same as I entered.

For instance, if I add a form field with "user" as name, in the generated form the name of that attribute is "form.widgets.user"

Does anyone know if there is a way to do this?

I forget the details but you can override the prefix -- it's an attribute of the z3c.form form and/or its widgets.

Finally I have overriden the default view of the easyform form and there I added a updateWidgets method where I change the names of the relevant widgets, as documented here:

https://docs.plone.org/develop/plone/forms/z3c.form.html#unprefixing-widgets

Thanks,