hi
i have a fabrik event that will submit form after an autofill is finished.
i would like to add 5 sec delay before a form submits. can anyone please assist me.
any assistance is appreciated
thank you
i have a fabrik event that will submit form after an autofill is finished.
i would like to add 5 sec delay before a form submits. can anyone please assist me.
JavaScript:
window.addEvent('fabrik.loaded', function () {
Fabrik.addEvent('fabrik.form.autofill.update.end', function (form, json) {
form.form.doSubmit(new Event.Mock(form.form._getButton('Submit')), form.form._getButton('Submit'));
});
});
any assistance is appreciated
thank you