Contao Open Source CMS > Enhance > Extension list > [sessionform] Session Form 1.1.0 stable

Extensions > sessionform

[sessionform] Session Form

Create multi-step forms and confirmation pages with this extension.

Introducion

When you submit a form in TYPOlight, all data is stored in the current user session. This allows modules or other extensions to retrieve the same data in a later stage. This extension makes use of this feature.

Creating confirmation pages

To create a confirmation page using this extension, follow these steps:
  • Duplicate your existing form and give it a matching name (green "+" button).
  • Change existing text-like fields (textarea, ...) into field type "Text from session".
  • Change existing option fields (checkbox, select, ...) into field type "Option from session". Make sure you have the same option values (and they should be unique).
  • Add more information, headline... as appropriate.
  • Create a new page in your site structure and place the form on this page.
  • Adjust the initial form to 1: forward to the confirmation page on submit, 2: do not send mails or something thelike.

Creating multi-page forms

The approach is almost the same as for confirmation pages, but you can have as many pages as you want, redirecting from one to the other. If you do not want to show the previous data, use the field type "hidden" and tick the checkbox "Load session data". Be aware that the field names must be identical!
For regular fields, check the "Load session data" checkbox. This will retrieve the data from session if the users steps back.
On the last page (thank you...), place a module of type "Delete form data". This will make sure the session data is dropped and the user will not see his previous data when opening the same form again.

Additional features

Additionally theres a field type "Calculation from session". This can be used to calculate field data from session. If you have a text field "amount" and a select for products (with price), you can calculate the total on the confirmation page.

Known problems

There seems to be a problem with using session data/session fields in EFG mails. I'm aware of that but have not yet taken the time to investigate this problem.
This extension is a commissional work for goatweb webdesign (www.goatweb.de).
Version1.1.0 stableTypeFree
Release date2009-12-09CategoryUtility
LicenseLGPL
Copyright© 2009 Andreas Schempp
AuthorAndreas Schempp (andreas.schempp) http://www.iserv.ch/
Release notes and change log for 1.1.0 stableOther versions
Adds a new form field "Hidden options" that you can use to transfer multiple fields (eg. Checkboxes, Multi-Select Menus) without showing them to the visitor.1.0.0 stable
1.0.1 stable
1.1.1 stable
Release functionality Total functionality
10.00
Release usability Total usability
10.00
Release quality Total quality
10.00
Release rating Total rating
10.00 (1 votes)
Release downloads224Total downloads450
Release installs366Total installs881
Release updates56Total updates107
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.7.0 stable2.9.1 stable
NameVersion fromVersion to
HSPGCBP0.0.1 alpha10.0.1 alpha1
PackageSizeDate
Contao_sessionform_10010009_9.zip188482011-08-11 22:02