I cannot save changes in Copy of Form Widget because of an OOB Error

jordimsant
Tera Guru

I want to create a clone of Form Widget in order to modify the buttons that appear at the bottom of the form in the ESC Portal. However, when I clone the Widget, I cannot save changes because I get the following error: "Could not save record because of a compile error: JavaScript parse error at line (25) column (25) problem = missing name after . operator (<refname>; line 25)". This error appears without doing any modification on the form, it just appears cloning the Widget. Does anybody know how to solve it?

 

I have already find that this error occurs when the internal name of a field coincides with a critical word for Javascript, so instead of dot-walking (f.e, current.assigned_to) i should use brackets (current['assigned_to']), but I have already tried and if I do this, the widget stops working. Any help out there? I attach an image of the problem below:

jordimsant_0-1730207026540.png

 

2 REPLIES 2

gowtham1610
Tera Contributor

Same error here ...!

could you found solution for it?

nandayo
Tera Contributor

Hi,

 

I also had this issue and when I checked it via Widget Editor apparently i was able to save it. idk why