webContext - save button

I have a workflow where I am creating an .html file via PPConnect to a local folder. In the html I am able to modify the content (input boxes, drop downs, ect). I have two buttons, one that will submit to the workflow and the other that I would like to save the html to itself with all the modifications that were made.

I am having trouble coming up with the correct combination to do this and though I would reach out to my peers!

Just to clarify things a little…when you say that you are able to modify the content of the HTML, do you mean that the user select something from a drop downs or input value in a text field? Or do you mean that you have some other process that actually modify the HTML code itself?

And if it is the first case, you wan that the other button to send a copy of the HTML, as modified by the user, to be stored somewhere?

Yes, the user opens a .html file that is stored locally and they can modify via drop downs and text boxes. I would like the user to be able to override and save the .html file, as it is now modified, to itself incase they need to come back to it before submitting to workflow.

Example: Open .html and drop down is blank. User selects the “cat” option from the drop down. Clicks the save button in the .html file and closes the document. When the user comes back to the document and opens the same .html, the drop down has the “cat” option selected and the user can select the other button to submit the data to workflow.

I hope I explained it better.

Here is something you might want to look at…Save HTML locally with Javascript