FullscreenForm icon indicating copy to clipboard operation
FullscreenForm copied to clipboard

Form post instead of get

Open tedcampos opened this issue 6 years ago • 1 comments

I love this form control gui.. so dope...

I am trying to get the form to POST rather than GET each time.. I cannot seem to find an option to change this. i have added type="post" and action="?something=true" to the form opening tag, but this is just not working. Upon review, the form ALWAYS submits to GET and all the values get pushed to the URL>>>

PLEASE HELP?!>@?!>@! ;)

Thanks so much!

tedcampos avatar Jul 12 '18 00:07 tedcampos

At the bottom of the example index.html you'll find a block:

new FForm( formWrap, {
	onReview : function() {
		classie.add( document.body, 'overview' ); // for demo purposes only
	}
}

Cut the line classie.add( document.body, 'overview' ); and paste it into fullscreenForm.js on line 297.

After that, you should see the form submits as you would expect.

jdmdigital avatar Jun 17 '21 15:06 jdmdigital