ellamorten Posted June 11, 2011 Share Posted June 11, 2011 Hi, I was wondering if anyone could help me out with a multiple choice quiz I'm making with jFormer (http://www.jformer.com/). Basically I'm really new to PHP and I'm having trouble with the following: - Finding out how to arrange radio buttons vertically (at the moment I'm basing my quiz on the 'Survey' Demo (http://www.jformer.com/demos/survey/) and it won't let me rearrange the radio buttons. Instead, when I do, it treats each radio button separately and you can only pick the first one. - All my radio buttons are labeled A - E (e.g. < input id="statement1-choice3" type="radio" value="C" name="statement1" / >) How do I then calculate the outcome so that those who picked a majority of A answers get shown a different div to those who picked a majority of B answers? Thanks in advance, Ella Quote Link to comment https://forums.phpfreaks.com/topic/239097-help-with-jformer-php-and-jquery-trying-to-make-a-multiple-choice-quiz/ Share on other sites More sharing options...
Pikachu2000 Posted June 11, 2011 Share Posted June 11, 2011 Arranging radio buttons and the like is more of an HTML question. Thread moved. Quote Link to comment https://forums.phpfreaks.com/topic/239097-help-with-jformer-php-and-jquery-trying-to-make-a-multiple-choice-quiz/#findComment-1228471 Share on other sites More sharing options...
ellamorten Posted June 12, 2011 Author Share Posted June 12, 2011 If you read the second half of the post, it says: "All my radio buttons are labeled A - E (e.g. < input id="statement1-choice3" type="radio" value="C" name="statement1" / >) How do I then calculate the outcome so that those who picked a majority of A answers get shown a different div to those who picked a majority of B answers?" That's a PHP question. Quote Link to comment https://forums.phpfreaks.com/topic/239097-help-with-jformer-php-and-jquery-trying-to-make-a-multiple-choice-quiz/#findComment-1228527 Share on other sites More sharing options...
Pikachu2000 Posted June 12, 2011 Share Posted June 12, 2011 Until the HTML is correct, the rest is irrelevant because the values you need won't even be present. Quote Link to comment https://forums.phpfreaks.com/topic/239097-help-with-jformer-php-and-jquery-trying-to-make-a-multiple-choice-quiz/#findComment-1228542 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.