Art Taylor
Art Taylor

Reputation: 492

Front end form submission

I've been looking around and haven't been able to find an answer to this.

I have a form that has to be submitted and the data to be processed entirely on the front end(in javascript). Is there a way that I can pass the form data to an action page and not to the same page. Right now I'm just emptying all data in the section and replacing it with the data that is being called; but I would like to do this similar to how a form would interact with php or python.

Thank you -Art

Upvotes: 1

Views: 538

Answers (1)

BenM
BenM

Reputation: 4278

What you could do is use HTML5 local or session storage to store all of the form values that a user enters and then on the new page use the stored values as you require.

http://diveintohtml5.info/storage.html

Upvotes: 1

Related Questions