VOI
Member
Hi,
when adding custom javascript via form_X.js i get the Javascript error: " Uncaught ReferenceError: Fabrik is not defined"
I just copied the code from the wiki and cusomized it:
I tried updating from GitHub today, didnt help.
Could someone help me and explain to me what i am doing wrong or how i can implement this correctly?
Thanks
Chris
when adding custom javascript via form_X.js i get the Javascript error: " Uncaught ReferenceError: Fabrik is not defined"
I just copied the code from the wiki and cusomized it:
Code:
Fabrik.addEvent('fabrik.form.elements.added', function () {
var form = Fabrik.blocks.form_6;
var elements = form.formElements;
var start = elements.get('timerec___hours_start');
I tried updating from GitHub today, didnt help.
Could someone help me and explain to me what i am doing wrong or how i can implement this correctly?
Thanks
Chris