Save form and return to it

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
douglas1438
Forum Members
Forum Members
Posts: 80
Joined: Thu Jul 21, 2011 10:29 am

Save form and return to it

Post 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
User avatar
manuel
Power Poster
Power Poster
Posts: 353
Joined: Fri Nov 30, 2007 9:15 am

Re: Save form and return to it

Post 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
Do you like your open source cms? Buy from the CMSMS partners || Donate
douglas1438
Forum Members
Forum Members
Posts: 80
Joined: Thu Jul 21, 2011 10:29 am

Re: Save form and return to it

Post 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
webform
Power Poster
Power Poster
Posts: 458
Joined: Sat Nov 25, 2006 3:39 pm
Location: Copenhagen, Denmark

Re: Save form and return to it

Post 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!
Post Reply

Return to “Modules/Add-Ons”