Hi,
I’ve been using SuiteCRM quite some time already. Today I noticed a strange behaviour in the AOS_Products module:
When you use the save button on top, the validation of the fields will not be triggered. If you use the lower one, everything works fine.
I have tested this is on a fresh 7.11.10 install - multiple times.
There is some difference in the top and bottom onclick function:
Top onclick:
var _form = (this.form) ? this.form : document.forms[0]; _form.action.value=‘Save’; if(check_form(’’))SUGAR.ajaxUI.submitForm(_form);return false;
Lower onclick:
var _form = document.getElementById(‘EditView’); _form.action.value=‘Save’; if(check_form(‘EditView’))SUGAR.ajaxUI.submitForm(_form);return false;
Looks like there is something wrong with the way the it is processed.