Jump to content

Survey/form/poll


mathiasppc

Recommended Posts

Hey,

 

I need to make some sort of a survey, where on first page there's a poll, and second page is a form and submit. I've searched a bit, but I don't know exactly what to search for. It's important that there are several pages and clicking between them don't refresh the whole site, but only the part where the visitor i.e. clicks/submits. I appreciate of someone could point me in a direction for this.

 

Many thanks :)

 

Mathias

 

 

Link to comment
Share on other sites

Hi,

 

As PHP is a server scripting language this wouldn't be entirely possible.

 

You COULD however, store the data input by the user into a temporary table then on first load store a reference number unique to a row in the 'temporary table' to the session and call that for each page.

 

Alternatively you could have the onclick set on the same page so as the user clicks through the forms different content holders with the second part of the form appear below the stage the user was just on. then it's a case of making the values of the form elements on the form to hold the value of what the user has submitted so this could be changed.

 

I hope this helps you, if you have any queries with these suggestions please let me know and I'll try to help you further.

 

Regards,

Ben

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.