I have joomla 3.2 with fabrik rc2 + github as of today.
Its a development site, the form is here: fm-info.co.uk/index.php/card-data
Its using the standard protostar template to avoid potential issues.
I have created 2.js and 3.js based on forum posts to act on the forms.
The problems are:
1 - The main form chrome diags show Uncaught ReferenceError: Fabrik is not defined when 3.js runs, it contains:
2. The "find surgery" links pops up a new form, but gives this error: Uncaught TypeError: Cannot call method 'get' of undefined
2.js contains:
This seems odd, in that the Fabrik.addEvent error does not recur on the popup
I would be greatful if anyone could point me in the right direction
Its a development site, the form is here: fm-info.co.uk/index.php/card-data
Its using the standard protostar template to avoid potential issues.
I have created 2.js and 3.js based on forum posts to act on the forms.
The problems are:
1 - The main form chrome diags show Uncaught ReferenceError: Fabrik is not defined when 3.js runs, it contains:
Code:
Fabrik.addEvent('fabrik.form.submit.start', function(form, event, button) {
var gox = form_3.formElements.get('card_data___firstname').getValue();
alert('start');
form.result = false;
});
2. The "find surgery" links pops up a new form, but gives this error: Uncaught TypeError: Cannot call method 'get' of undefined
2.js contains:
Code:
Fabrik.addEvent('fabrik.form.submit.start', function(form, event, button) {
var go = form_2.formElements.get('popup___surgeryname').getValue();
alert('alert');
form.result = false;
})
This seems odd, in that the Fabrik.addEvent error does not recur on the popup
I would be greatful if anyone could point me in the right direction