Page 1 of 1

Save form and return to it

Posted: Fri Jul 05, 2013 1:17 pm
by douglas1438
Hi,

Not looking for a full blown account just some idea of how I go about this or even a link, sure it must have been done before but I can't find anything. I have a long form over several pages I need users to be able to save their answers half way through and be able to return to the form.

Know I need Form Builder and Front End Users just can't see how to tie them together.

Thank you,

Chris

Re: Save form and return to it

Posted: Fri Jul 05, 2013 1:58 pm
by manuel
Dear Chirs,

Don't know if this is "reliable/secure/suited for multi page forms" but here is a link you might want to take a look at:
http://coding.smashingmagazine.com/2011 ... -and-more/

Greetings,
Manuel

Re: Save form and return to it

Posted: Fri Jul 05, 2013 5:25 pm
by douglas1438
Manuel,

It is a great solution, love its simplicity, thank you. Sadly I think the security aspect would stop me using it. Users would be inputting their addresses etc. and if on a public machine would be a risk.

Thank you again though.

Chris

Re: Save form and return to it

Posted: Sun Jul 21, 2013 11:58 am
by webform
What i've done on some sites, is to have 2 forms (part 1 + part 2), where part 1 "Call A User Defined Tag With the Form Results" and "Store Results for FormBrowser Module".

Part 2 have all the previous fields from part 1 as hidden fields with preset value from the UDT and it also "Store Results for FormBrowser Module".

Here is how i did it:

Create an UDT with

Code: Select all

$_SESSION['fbparams'] = $params;
Set part 1 form to "Call A User Defined Tag With the Form Results".

Give all your fields an unique alias.

"Store Results for FormBrowser Module".

Set "Form submission" Redirect to site page with the part 2 form.

Create similiar hidden fields as part 1 you want to transfer form submission.

In the value field for each hidden field, call the relevant field alias:

Code: Select all

{$smarty.session.fbparams.myfieldalias}
"Store Results for FormBrowser Module" in a new form browser.

Btw! I don't know if the current versions of CMS Made Simple and Form Builder still can use the UDT as it's some time ago since i last used it!

An obvious downside is having 2 Form Browsers to store results, but if the user doesn't complete both parts, you at least have the data from part 1!