アイデアは、前の質問の回答に応じて、JavaScriptを使用して質問を表示/非表示にすることです。これは決定木と呼ばれます。あなたがそれをグーグルすれば、彼らは来るでしょう。あなたはあなたのために大部分の重労働をするたくさんの例とライブラリを見つけることができます。
自分で作成したい場合は、これを非常に単純化した方法で行います。これはスケーラブルなソリューションではありませんが、どのように機能するかについての基本的な考え方を提供するはずです。
HTML
<label>Do you want this?
<select name="choices" id="choices">
<option value="1">Yes</option>
<option value="2">No</option>
<option value="3" selected>Nothing</option>
</select>
</label>
<div id="choices-followup">
<div id="followup1">
<label>
How bad do you want this?
<select>
<option>Give it to me now!</option>
<option>Meh...</option>
</select>
</label>
</div>
<div id="followup2">
<label>Why not?<br />
<textarea></textarea>
</label>
</div>
</div>
JavaScript
// Whenever the user changes the value of
// the element with ID "choices", perform
// this function.
$('#choices').on('change', function() {
// Grab the choice value
var choice = $(this).val();
// Cache the "choices-followup" object.
// Every time to you call $('anything'), jQuery
// goes through the entire DOM looking for that
// object. Prevent this by making the lookup
// once, and caching the value.
var choices_followup = $('#choices-followup');
// No matter what the choice, hide all possible
// follup fields.
$('div', choices_followup).hide();
// Also, reset their values.
$('select, textarea, input', choices_followup).val('');
// If this, then that, etc.
switch(choice) {
case '1':
$('#followup1').show();
break;
case '2':
$('#followup2').show();
break;
}
});
CSS
#choices-followup > div { display: none; }