Hi..There is again a similar problem..Now i;ve got the option values of list?menu box to show the textbox. If the option value of list is yes then the textbox is to be displayed . Can anyone help..through php or javascript.
ONe more thing..How can i perform the same function for more than one such kind of problem..I mean if there is any other place in the form where i have to display textbox on selecting a particular value.how can it be done..for all,the form coding is here.
[HTML] <tr>
<td class=ws_body valign=top colspan=2><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif"><label for="ima">Do you have a Internet Merchant Account?</label></font></td>
<td class=ws_body valign=top><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif">
<select name=ima id =ima>
<option selected>Select</option>
<option value=imabank>Yes</option>
<option value=no>No</option>
<option value="not sure">Not Sure</option>
</select>
</font></td>
</tr>
<tr>
<td class=ws_body valign=top width="23%"><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif"><label for="imabank"></label>If yes, with what company <br>
(WorldPay, PaySystems, etc)?</label></font></td>
<td class=ws_body valign=center colspan=2><div align=right><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif">
<div id="optional1"> <input maxlength=500 size=50 name=imabank></div>
</font></div></td>
</tr>[/HTML]
[HTML]<tr>
<td><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif"><br>
Will you provide the images and photos?</font></td>
<td valign=bottom> <div align=right><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif">
<select name=imgprovide>
<option selected>Select</option>
<option value=yes>Yes</option>
<option value=no>No</option>
<option value=some>Some</option>
<option value="not sure">Not Sure</option>
</select>
</font></div></td>
</tr>
</tbody>
</table>
<table width="90%" align=center cellpadding=2>
<tbody>
<tr>
<td><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif">If yes, format of the images and photos?</font></td>
<td><div align=right><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif">
<select name=imgform>
<option selected>Select</option>
<option value="on disk">On disk</option>
<option value=broshure>Brochure</option>
<option value=paper and amp photos>Paper amp Photos</option>
<option value="dont have them yet">Don't have them yet</option>
<option value="not sure">Not sure</option>
</select>
</font></div></td>
</tr>
</tbody>
</table>
<table width="90%" align=center cellpadding=2>
<tbody>
<tr>
<td><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif">Do you require your images to be scanned? font></td>
<td><div align=right><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif">
<select name=imgscan>
<option selected>Select</option>
<option value=yes>Yes</option>
<option value=no>No</option>
<option value="not sure">Not Sure</option>
</select>
</font></div></td>
</tr>
<tr>
<td><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif">If yes, how many?</font></td>
<td><div align=right><font color="#333333" size="1"
face="Verdana, Arial, Helvetica, sans-serif">
<input maxlength=8 size=4 name=imgno>
</font></div></td>
</tr>[/HTML]