Hi @aashraf85
I hope you’re well today!
Form can only be saved once it’s submitted, it doesn’t “intercept” data on the fly to keep it while it’s being filled-in.
Now if the fields on that second page are not set to be required, your customer still can submit the form without filling them and it will be saved.
Another option is to enable draft mode by enabling “Save and Continue” option in form’s “Behavior” settings. This still won’t automatically save incomplete submissions but will let your customers to stop fill-in in the form, save it and then get back to it later to continue.
If they decide to save form, such partial submission will be also saved in database (marked as draft).
—-
If you want to automatically save such partial submissions, you would need to have that draft mode enabled (see above) and also add additional code to the site.
This is the code to be added:
https://gist.github.com/wpmudev-sls/9887db081b0f9704b7d2fd6282bafc94
To add it to site:
– create an empty file with a .php extension (e.g. “autosave-form-draft.php”) in “/wp-content/mu-plugins” folder of your site’s WordPress install
– copy shared code and paste it into that file (copy raw code, without any line numbers!)
– edit the code and replace each and every occurrence of the number 2171 across the code with your form’s ID; form ID is the number you see in form shortcode
– save the file and clear all cache on site server
It should then automatically save draft submissions whenever user moves from one form field to another.
Kind regards,
Adam