Developer forum

Forum » CMS - Standard features » Cannot edit form field in Forms for Editors

Cannot edit form field in Forms for Editors

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

I am getting an error editing a field in Forms for Editors in 9.8.4

https://www.screencast.com/t/peYOdZJZc

 

It breaks with existing or new fields.

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply

Seems like you have 2 custom fields with the same name?

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

You were right. It's a custom development that's wrongly checking if a field exists before creating it. The API allowing me to Add a "duplicate CustomField to the CustomFieldCollection without throwing an exception. I am glad we captured it early before this leads to other issues.

 

Hope it still makes sense to throw the exception.

 

Thanks for your help,

Nuno Aguiar

 

You must be logged in to post in the forum