dagon;10943244 wrote:as php is server side you cant, with out reloading the page, this would be something you commonly do with with js.
The problem I am having is if js is turned off. So say you got 3 questions:
<p>Do you like this website?
<input type="radio" name="likeit" value="Yes" checked="checked" /> Yes
<input type="radio" name="likeit" value="No" /> No
<input type="radio" name="likeit" value="Not sure" /> Not sure</p>
if no go to question 6 otherwise go to question 7
question 6
<p>why do you like it?
<input type="radio" name="likeit1" value="oh" checked="checked" /> oh
<input type="radio" name="likeit1" value="yea" /> yeajh
<input type="radio" name="likeit1" value="Not sure" /> Not sure</p>
question 7
<p>should it be changed?
<input type="radio" name="likeit2" value="oh" checked="checked" /> oh
<input type="radio" name="likeit2" value="yea" /> yeajh
<input type="radio" name="likeit2" value="Not sure" /> Not sure</p>
In jscript I can get them enable/disable accordingly. i.e. in this case if for the first question he presses "yes" it enables all the radio buttons in q 6, if no disables all the radio buttons in q 6. Problem is, if JS is turned off, the flow of the questionnaire is disrupted, meaning the form cannot be filled in. Problomatic as some of my users may not have it turned on.