Hi,
I would like to use the gform_disable_post_creation in my functions.php to not allow certain forms to post into the database. These forms go to another application and I use the Pass Field Data Via Query String so there is no need to store the entries.
The problem is that we use Multisite and the same template for each site. If I place the code in and another site is using the same ID number with their form, (that might need the submits to be registered into the database) it will stop that from occurring.
Is there a shortcode that can be used per form to disable the creation, or is there a way in the function.php to specify the form, like the name of the form instead of the ID?
I was going to try the switch_to_blog(); but I am not sure that is the best solution.
Thanks for your time.