Makulia
Member
Hello dear Fabrik community!
We have a serious bug here. Issue has been tested and confirmd on Joomla builds 3.3.6+ and Fabrik builds 3.3.1+. Only checkbox field type is affected.
Form fields instant ajax validation (after field looses focus) is broken when we have 2 or more forms on the same page if:
Both forms containing checkbox fields
AND
Both forms option "Ajax validation" is set to: Yes
AND
Both form submition type "Ajaxify" is set to: Yes
Validation and submission are broken in the first form in DOM while in the second form input field disappears after submission.
Browser console output:
And after some idle time another ouput in a console:
Browser points to the string in form.js:
We have a serious bug here. Issue has been tested and confirmd on Joomla builds 3.3.6+ and Fabrik builds 3.3.1+. Only checkbox field type is affected.
Form fields instant ajax validation (after field looses focus) is broken when we have 2 or more forms on the same page if:
Both forms containing checkbox fields
AND
Both forms option "Ajax validation" is set to: Yes
AND
Both form submition type "Ajaxify" is set to: Yes
Validation and submission are broken in the first form in DOM while in the second form input field disappears after submission.
Browser console output:
Code:
TypeError: window[el[0]] is not a constructor form.js:652:16
And after some idle time another ouput in a console:
Code:
Error: Load timeout for modules: element/checkbox/checkbox
http://requirejs.org/docs/errors.html#timeout jquery.min.js line 2 > eval:8:252
Empty string passed to getElementById().
Browser points to the string in form.js:
Code:
var oEl = new window[el[0]](el[1], el[2]);
Last edited: