• # March 27, 2013 at 12:28 pm

    Dear all of you,
    excuse me for stupid question, I think I should be able to find this by google but No – haven’t done that, and I’m working against time here :/

    I am making a simple page, where you are supposed to be able to answer questions and send them in with your name and email to me. To make this I’ve planned to use this:

    I’ve also been loking on different formpages, like pandaform etc. Ok, making the form is simple. BUT – I need the questions to be placed on different pages
    “question no 1 *next*” and then the next question etc.
    Can’t figure out how to do this… Because in the end when you send in the form, it has to be able to remember your answers from all the different pages.

    Can you please help me? Direct me to an article where I can read about this? Tell me how to config the above mentioned code?

    And yes, I should learn better php and figure these things out more easily, working on that :)


    # March 27, 2013 at 12:30 pm

    Well btw, the “nice and simple contactform” is just a form for sending in contacts.. So, I guess I should find a way to combine that with something..

    # March 27, 2013 at 12:34 pm

    This reply has been reported for inappropriate content.

    An easy way to do this would be to save the data temporarily in an array for each page, then when the form submits, you take that data and then send it.

    $pages = array(
    ‘page_1’ => array (
    ‘form_value1’ => $_POST,
    ‘form_value2’ => $_POST,
    ‘form_value3’ => $_POST,
    ‘page_2’ => array (
    ‘form_value1’ => $_POST,
    ‘form_value2’ => $_POST,
    ‘form_value3’ => $_POST,

    # March 27, 2013 at 12:39 pm

    This reply has been reported for inappropriate content.

    You could also try out this jQuery plugin, but then it depends upon the end user having JS enabled. Fallback would be all fields on a single page.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.