I made a function and added it to my form js file.
function emailreport(el) {
var element1 = Fabrik.getBlock('form_9').formElements.get('dfsb8_logs___issue_report');
if (element1 !== '') {
el.update("1");
}
}
Then I added
emailreport(this);
to the javascript of the element I want to add 1 to and used on load, but element doesn't render 1 in source.
function emailreport(el) {
var element1 = Fabrik.getBlock('form_9').formElements.get('dfsb8_logs___issue_report');
if (element1 !== '') {
el.update("1");
}
}
Then I added
emailreport(this);
to the javascript of the element I want to add 1 to and used on load, but element doesn't render 1 in source.