We need your feedback on the need for updated payment plugins. Please go here and give us your feedback.
For running J!5.1 you must install Fabrik 4.1 See also Announcements
See Announcement
Please post subscription questions and issues here
We have resolved the issue with the J! updater and this will be fixed in the next release.
/**
* Ensure that Fabrik's loaded
*/
requirejs(['fab/fabrik'], function (Fabrik) {
// The block you want to use
var blockRef = 'form_8';
// Should we use an exact match for the blockRef?
var exact = false;
var form = Fabrik.getBlock(blockRef, exact, function (block) {
// This callback function is run once the block has been loaded.
// The variable 'block' refers to Fabirk.blocks object that controls the form.
var v = block.Elements.get('tablename___elementname').get('value');
// If your element is in a repeat group its name is prefixed with _0, _1, _2 etc - to get all element values in an array....
var values = [];
Object.each(block.Elements, function (element, key) {
if (key.contains('tablename___elementname')) {
values.push(element.get('value'));
}
});
});
});
/**
* Ensure that Fabrik's loaded
*/
requirejs(['fab/fabrik'], function (Fabrik) {
// The block you want to use
var blockRef = 'form_8';
// Should we use an exact match for the blockRef?
var exact = true;
var form = Fabrik.getBlock(blockRef, exact, function (block) {
// This callback function is run once the block has been loaded.
// The variable 'block' refers to Fabirk.blocks object that controls the form.
var v = block.Elements.get('tablename___elementname').get('value');
});
});