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
https://forums.phpfreaks.com/topic/236229-surveyformpoll/
Share on other sites

Was supposed to log into my facebook account when I typed in faebook.com by mistake and got redirected to this site:  http://noblue.org/

 

Obviously this is a scam, but this is the kind of look I'm looking for with my survey. Is this possible to do in php, or do I need java for this?

 

Thanks again!

 

Mathias

Link to comment
https://forums.phpfreaks.com/topic/236229-surveyformpoll/#findComment-1214610
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
https://forums.phpfreaks.com/topic/236229-surveyformpoll/#findComment-1215431
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.