Hello,
Here is the code:
<tr>
<tr>
<td class="FormCell">Do you live in US? </td>
<td class="FormCell"><input type="radio" value="true" name="Country">Yes</td>
<td class="FormCell"><input type="radio" value="false" checked name="Country">No</td>
</tr>

<% if true then %>
<td class="FormCell"> This is a test </td>
<td class="FormCell" colspan="2"><select name="TEST">
<option selected value="1">0 to 2500</option>
<option value="2">2,501 to 5,000</option>
<option value="3">5,001 to 8,000</option>
<option value="4">8,001 to 20,000</option>
<option value="5">over 20,000</option>
</select></td>
<% end if %>
</tr>

What I want is that when the page loads the No (Radio Button) is selected (that is by default) and than if the user select the Yes radio button than the dropdown list shows up (TEST).
I guess there r two ways to do that:

  • Using DHTML (java script)
  • Or some how using the post back function

I will really appreciate yr help. It’s kind of urgent.
Thanks a lot for yr time & effort.
Ricky

use code and html tags to make yout code more readable.

You are talking of which dropdown list.

Whatever i think javascript may help you. Tell your problem clearly.

This article has been dead for over six months. Start a new discussion instead.