Force Ajax Submission

By: Thomas Porteus | Asked: 12/21/2023
ForumsCategory: How-toForce Ajax Submission
Thomas Porteus asked 11 months ago
I want to override every forms settings definitely force submission via Ajax. Does anyone have any ideas?
1 Answers
Rob LeVineRob LeVine answered 11 months ago
Please explain in more detail what you're trying to do. I don't understand what you're asking.
Thomas Porteus replied 11 months ago

I run a large Multisite site network, but I need to set all the forms to submit using Ajax. I can’t practically go through all the forms and change this manually, so I need either a way to either change that setting for every existing form or to override that setting.

Rob LeVineRob LeVine replied 11 months ago

I can think of two ways:
1. Use jQuery to remove "frm_ajax_submit" class from the form element
2. Write a program to iterate the entries in wp_frm_forms and edit the value of the options column and change "ajax_submit";i:0 to "ajax_submit";i:1

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right