...

View Full Version : Advice required on HTML form submission



morgansolutions
11-22-2008, 05: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.

morgansolutions
11-22-2008, 06:56 PM
I've zipped up the files and attached.

Just realised that I've been testing in Firefox, and all PCs at my employer use IE6 - tried it in IE7 and it doesn't work (the Javascript isn't seeing the fields as complete so won't let the user proceed to next step.

Again, any help on this would be greatly appreciated.

Thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum