Create a web-survey using javascript.
March 24, 2012 6:01 PM Subscribe
Advice on using Javascript and JQuery to create a web-survey.
I want to create a survey on a website that has 5 - 8 questions, and multiple-choice answers. At the moment I am planning to use Javascript and a bunch of forms and radio-buttons.
I have the overall structure working for a simple case (user ticks various radio buttons, clicks submit and the data + cookie info is loaded into a database using a JQuery post command). However, I don't have a good strategy for formatting the button positions and I'm not sure if there is a better way of organizing the radio-buttons. Also, some of the questions will have pictures above the radio-buttons. I am using CSS, but I'm finding the individual button text to be a little tricky to handle as it varies in length.
I would appreciate any pointers on how best to improve this. I feel like there might a library out there that already handles some of the browser side organization but I haven't been able to find it though googling.
posted by a womble is an active kind of sloth to computers & internet (6 answers total) 1 user marked this as a favorite
posted by Foci for Analysis at 6:16 PM on March 24, 2012