ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to create a multi-page form?

July 23, 2009 1:21pm

Subscribe [2]
  • #1 / Jul 23, 2009 1:21pm

    mathalete

    86 posts

    Hi all,

    Anyone got any pointers on how to go about creating a multi-page form?

    Any plugins out there that can help facilitate this?

    I’m thinking that javascript is the answer here.

    Any examples most appreciated.

    Many thanks

    Peter

  • #2 / Jul 23, 2009 3:29pm

    Ingmar

    29245 posts

    For the EE side of things, I’d recommend FreeForm. After that, jQuery would be a solution.

  • #3 / Jul 23, 2009 4:00pm

    mathalete

    86 posts

    The jquery thingmebob looks like a goer, thanks for that.

    Just on a side note, what’s the maximum timeout for sessions in EE?

    I’ve quite a long form, and I’d like to use the “log me in” add-on to allow users to fill in the form, without having to log in per se.

    Cheers
    Peter

  • #4 / Jul 23, 2009 4:07pm

    Ingmar

    29245 posts

    User sessions expire in two hours, admin sessions in one hour. If you are using cookies exclusively, however, a new session is created as needed. This is transparent to the user, who is never logged out, as it were.

  • #5 / Jul 23, 2009 4:13pm

    mathalete

    86 posts

    Thanks Ingmar, as usual you’re a great help!

  • #6 / Jul 23, 2009 4:17pm

    Ingmar

    29245 posts

    My pleasure, as always 😊

  • #7 / Aug 02, 2009 12:14pm

    mathalete

    86 posts

    Hi again,

    I’m asking for your expertise in this matter as it’s in relation to multi-page forms.
    Hopefully you could save me development time by giving weight to my assumptions so as I will know if it’s a non-starter or not.

    Okay, I want to achieve the following…

    1. Set up a weblog, each entry in the weblog will be an advert for a job.

    2. At the foot of each job advert page, there will be an ‘apply’ hyperlink button that will (upon clicking) pass the title of the job, and the unique job reference number to a php application form page that will be standard xhtml form page with jquery validation, and php validation written into it.

    3. Upon filling out of the form, and validation checks finished, the data from the php form is sent to a verification page using session variables. The verification page is written in php and simply takes the session variables and displays the contents for the users inspection. The user can then view what they’ve entered into the form and sign off if it’s correct.

    4. If it is correct the user clicks a button to indicate this is the case. The confirmation button is in a hidden (input type “hidden”) form button to a freeform form that inputs the data into expression engine.

    5. A copy of the data will be sent to both the designated admin email address for EE, and to the email address the user has provided with the form.

    And bobs yer proverbial uncle.

    I require my learned communities assistance with the following queries :

    * I’m assuming if php is enabled in the pages described previously that the passing of post/session variables is permitted within EE?
    * If not, is there an EE/CodeIgniter equivalent?
    * On a general assumption with respect to enabling php, multi page forms are then relatively straight forward in that you would have the generic php methods of passing data between pages? Or do you have to employ specific EE/Codeigniter techniques?
    * Am I missing the boat here, but is there a codeigniter method that I could call that would provide me with server side validation of data, as opposed to customising my own php to fit into ee?

    With kind regards
    Peter

  • #8 / Aug 04, 2009 4:27pm

    Ingmar

    29245 posts

    That sounds all doable, but it would require some custom coding. If you’re doing this with EE (and PHP), I still recommend Freeform. If you decide to give CI a try, check out their forums.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases