clean out the data in pick list

R

reneeccwest

hello,

The initial value of color type is "1" with pick list of yellow, white, and
orange. Before the form submitting, if I check the dark color which
colortype is "2", there will be no list at all and it will show an empty
line.

how should I do that?


---------------------------
<html>
<head>
<title>Untitled</title>

</head>

<body>
<form action="test.cfm" method="post" name="testname">
<table>
<TR>
<td align="right"><font color="darkblue"><b>Color:</b></font></td>
<td align="left" colspan="3">
<input type="radio" name="colortype" value="1" checked</cfif>>soft color
<input type="radio" name="colortype" value="2">dark color
</td>
</TR>
<tr>
<td align="left">
<select name="colorname" size="1">
<OPTION VALUE="">
<OPTION VALUE="Y">Yellow</OPTION>
<OPTION VALUE="W">white</OPTION>
<OPTION VALUE="O">orange</OPTION>
</select>
</td>
</tr>
</table>
</form>

</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,219
Latest member
Geraldine7

Latest Threads

Top