mathiasppc Posted May 12, 2011 Share Posted May 12, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/236229-surveyformpoll/ Share on other sites More sharing options...
mathiasppc Posted May 12, 2011 Author Share Posted May 12, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/236229-surveyformpoll/#findComment-1214610 Share on other sites More sharing options...
mathiasppc Posted May 14, 2011 Author Share Posted May 14, 2011 Bump anyone? :'( Quote Link to comment https://forums.phpfreaks.com/topic/236229-surveyformpoll/#findComment-1215388 Share on other sites More sharing options...
CoalFired - Ben Posted May 14, 2011 Share Posted May 14, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/236229-surveyformpoll/#findComment-1215431 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.