Add css class to forminator buttons
-
I’d like to add a css class to .forminator-button buttons. I believe there is no hook to do so, therefore would add the class with JS. What is the proper function to add the class after the ajax form is fully loaded? I had read about a forminatorPostRender function, but that doesn’t seem to work or is obsolete
jQuery(document).on(‘forminatorPostRender’, function(event, $form) {
// Code to execute after the form is loaded via AJAX
console.log(‘Forminator form loaded via AJAX:’, $form);
// Add your custom code here
});
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add css class to forminator buttons’ is closed to new replies.