formie icon indicating copy to clipboard operation
formie copied to clipboard

Add the possibility to configure the available submission methods

Open mgambella opened this issue 1 year ago • 0 comments

What are you trying to do?

I would like to have the possibility to choose what submission methods are available to form creators.

What's your proposed solution?

It should be added a configuration setting, to be committed in git and not available to site editors, with the following options to choose from:

only Ajax (Client-side) or only Page Reload (Server-side) or either Page Reload (Server-side) or Ajax (Client-side)

Additional context

The need for this featured arose while using both the caching plugin Blitz and Formie on the same site. Statically cached forms require Ajax (Client-side): otherwise they don't work: having the option to explicitly disable the Page Reload submission method would make the form creation process less error prone.

Also, the documentation for cached forms should be updated: https://verbb.io/craft-plugins/formie/docs/template-guides/cached-forms

mgambella avatar Mar 04 '24 18:03 mgambella