I have the following form (generated). However, when a selector is changed it is not submitting the form and I can’t see why not. Anyone have better eyes?
Thanks in advance,
tony
[code=html]
<form name=”appEnv” id=”appEnv” method=”post” action=”/cfgMgr/home.php?pg=14&appID=8&cfgEntID=19″ >
<table width=”100%” border=”0″ cellpadding=”0″ cellspacing=”0″>
<tr>
<th align=”center” width=”32%” scope=”col”>Xfer Type</th>
<th align=”center” width=”32%” scope=”col”>OS Type</th>
<th align=”center” width=”32%” scope=”col”>Server Language</th>
</tr>
<tr>
<td align=”center”>
<select name=”xferType” id=”xferType” onchange=”this.form.submit(); return true;”>
<option value=”1″ SELECTED > Local File </option>
<option value=”2″> FTP </option>
</select>
</td>
<td align=”center”>
<select name=”osType” id=”osType” onchange=”this.form.submit(); return true;”>
<option value=”1″> Unix </option>
<option value=”2″ SELECTED > Windows </option>
</select>
</td>
<td align=”center”>
<select name=”language” id=”language” onchange=”this.form.submit(); return true;”>
<option value=”1″ SELECTED > PHP </option>
<option value=”2″> ASP </option>
</select>
</td>
</tr>
</table>
<hr />
<table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″ style=”padding-left:10px;”>
<!– Note: no table rows here because a condition was not met. Hence the hidden fields –>
<input type=”hidden” name=”ftpHost” value=”” />
<input type=”hidden” name=”ftpDir” value=”” />
<input type=”hidden” name=”ftpUser” value=”” />
<input type=”hidden” name=”ftpPassword” value=”” />
<tr>
<td colspan=”2″>
</td>
</tr>
<tr>
<td colspan=”2″ align=”center”>
<input type=”submit” name=”submit” value=”Update Options” />
<input type=”hidden” name=”appEnv” value=”appEnv” />
</td>
</tr>
</table>
</form>