morgansolutions
11-22-2008, 04:51 PM
Hi All
I'm attempting to build a questionnaire/survey for my colleagues.
Due to limited resources, I'm not using any server side code (cgi, php, asp) and am just sticking to simple HTML, CSS and Javascript.
I've found the perfect piece of code that does what I need it to do:
http://developer.apple.com/internet/webcontent/examples/wizard.html (http://http://developer.apple.com/internet/webcontent/examples/wizard.html)
It splits sections up into divs and hides sections not currently active. I've based my questionnaire on this code and replaced the cgi post submission with a simple email address so it mails the results directly to an email account instead.
However, it seems there is some sort of character limitation for this type submission (about 975). My complete survey contains about 5000 characters, excluding user comments.
I could just put in a line at the end of the survery asking users to copy and paste the results into an email, but ideally I wanted it to be an automated process without them having to see the way the for is submitted.
Any ideas and thoughts on this would be greatly appreciated. Code can be supplied although it's quite hefty!
Thanks.
I'm attempting to build a questionnaire/survey for my colleagues.
Due to limited resources, I'm not using any server side code (cgi, php, asp) and am just sticking to simple HTML, CSS and Javascript.
I've found the perfect piece of code that does what I need it to do:
http://developer.apple.com/internet/webcontent/examples/wizard.html (http://http://developer.apple.com/internet/webcontent/examples/wizard.html)
It splits sections up into divs and hides sections not currently active. I've based my questionnaire on this code and replaced the cgi post submission with a simple email address so it mails the results directly to an email account instead.
However, it seems there is some sort of character limitation for this type submission (about 975). My complete survey contains about 5000 characters, excluding user comments.
I could just put in a line at the end of the survery asking users to copy and paste the results into an email, but ideally I wanted it to be an automated process without them having to see the way the for is submitted.
Any ideas and thoughts on this would be greatly appreciated. Code can be supplied although it's quite hefty!
Thanks.