Support forumCategory: Bugscant-delete-custom-form-fields
rajeshs asked 5 years ago

I had created 2 custom form fields,but when i tried to delete, an error message is showing that \”Error in deleting\”.I had tried it by clearing all the previous values that already exists,but it can\’t worked.

2 Answers
Nikola Loncar Staff answered 5 years ago

Hi, do you have any error when you open console (F12) inside browser (Chrome). Have you tried compatibility mode inside EasyAppointments settings > customize page?

Best regards,
Nikola

cforce22 replied 5 years ago

Hi Nikola.

I am having the same problem. I have set the Compatibility Mode and refreshed the page as well as logged out.

Here are the results from the F12 in Chrome. Please let me know if you need more the console.

Uncaught TypeError: Cannot read property ‘regional’ of undefined
at jquery-ui-i18n.min.js:6
at jquery-ui-i18n.min.js:6
at jquery-ui-i18n.min.js:6
/wp-admin/admin-ajax.php?action=ea_field&id=5&_method=DELETE Failed to load resource: the server responded with a status of 400 (BAD REQUEST)
admin.prod.js?ver=4.8.2&nocache=1:2091 Uncaught TypeError: Cannot read property ‘destroy’ of undefined
at n.deleteOption (admin.prod.js?ver=4.8.2&nocache=1:2091)
at HTMLDivElement.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8.2:3)
at HTMLDivElement.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8.2:3)
deleteOption @ admin.prod.js?ver=4.8.2&nocache=1:2091
dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8.2:3
r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8.2:3

cforce22 replied 5 years ago

I also tried to set the field to ‘Not Required’ and ‘Not Visible’. I get the same error. I have tried in Chrome and IE. I have cleared both browsers and receive the same error.

Nikola Loncar Staff replied 5 years ago

Hi, can you please tell me which Calendar localization have you selected inside Settings > Customize page?

Best regards,
Nikola

cforce22 replied 5 years ago

Hi Nikola! I have “en-US”.

cforce22 answered 5 years ago

Hi Nikola,
Has there been a resolution to this issue yet? Thank you!

Nikola Loncar Staff replied 5 years ago

Hi, have you tried that in latest version 1.11.7?

Best regards,
Nikola

cforce22 replied 5 years ago

Hi! I had to mark the field ‘invisible’ first. After I saved, I unchecked ‘Required’. I am still unable to delete the field, however. But, since the field is not invisible, it will do for now.

Nikola Loncar Staff replied 5 years ago

ok, have you check if there are errors in php log file on your hosting regarding that?

Best regards,
Nikola

cforce22 replied 5 years ago

Hi Nikola, I do not know how to do that.