Save and exit button


(+Krosways+) #1

Dear Squiz;


I have created a custom form in the CMS. When I login as a user to the form, I fill in the form and need to save and exit the form and come back later to complete the form.



I have customised the exit body copy stating your form has been saved, revisit the form at the url.



But when the user logs out and logs back in the saved info in not there and they have to refill the form contents again



any advise on this would be much appprecaited


(Edison Wang) #2

In the exit page, make sure the url given is like below:


http://form_url?SQ_FORM_5048_SUBMISSION=5141



%form_submission_id% keyword can be used for the current submission asset id

5048 is the form id (not the Custom form, it is the one underneath)



Not sure why it wasn't covered in the manual.


(Josh Sherwood) #3

[quote]
In the exit page, make sure the url given is like below:



http://form_url?SQ_FORM_5048_SUBMISSION=5141



%form_submission_id% keyword can be used for the current submission asset id

5048 is the form id (not the Custom form, it is the one underneath)

[/quote]



This is covered in our documentation here: http://manuals.matrix.squizsuite.net/custom-form/chapters/formatting-the-custom-form/#Editing-the-Exit-Page-Contents



You can refer to the Exit Page Contents Layout section in order to correctly configure the link to return your users to their forms.


(Adeline Yaw) #4

[quote]
This is covered in our documentation here: http://manuals.matrix.squizsuite.net/custom-form/chapters/formatting-the-custom-form/#Editing-the-Exit-Page-Contents



You can refer to the Exit Page Contents Layout section in order to correctly configure the link to return your users to their forms.

[/quote]



If this helps, there’s a missing ‘?’ in the Manual (link indicated above). It currently has:



<a href="./?a=<ASSET_ID>SQ_FORM_<FORM_ID>SUBMISSION=%form_submission_id%">Return to your form</a>



it should be:



<a href="./?a=<ASSET_ID>?SQ_FORM
<FORM_ID>_SUBMISSION=%form_submission_id%">Return to your form</a>



and this has worked fine on my Exit Page contents.


(Benjamin Pearson) #5

[quote]
If this helps, there's a missing '?' in the Manual (link indicated above). It currently has:



<a href="./?a=<ASSET_ID>SQ_FORM_<FORM_ID>SUBMISSION=%form_submission_id%">Return to your form</a>



it should be:



<a href="./?a=<ASSET_ID>?SQ_FORM
<FORM_ID>_SUBMISSION=%form_submission_id%">Return to your form</a>



and this has worked fine on my Exit Page contents.

[/quote]



Actually, it should be a & then the URL will be /?a=123&SQ_FORM_456_SUBMISSION=789.


(Nic Hubbard) #6

[quote]
Actually, it should be a & then the URL will be /?a=123&SQ_FORM_456_SUBMISSION=789.

[/quote]



But, once the ./?a= is replaced it would be wrong, looking like:


    http://www.mysite.com&SQ_FORM_456_SUBMISSION=789

(Benjamin Pearson) #7

[quote]
But, once the ./?a= is replaced it would be wrong, looking like:


    http://www.mysite.com&SQ_FORM_456_SUBMISSION=789

[/quote]



Ahh, new feature (to me), good point.


(Josh Sherwood) #8

[quote]
If this helps, there's a missing '?' in the Manual (link indicated above).

[/quote]



Thanks for pointing this out. It should be fixed now.