Hello,
I have these 3 selections:
Active: # (some number)
Standby: ## (some number)
Demoblization: # (some number)
If for reasons that any of these choices I do noT fill in a number, it throws me to an error page. This means I have to set it in the code to make sure if there is no number put in a null value. Now I do not want to show a '0' value if there is no number entered and not throw me to the error page when I hit the 'submit' button.
Any suggestion ?
thanks,
Ngai
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<table class="one">
<tr>
<td class="description" rowspan="3">Negotiated Rates Each </td>
<td class="description">ACTIVE</td>
<td class="tableCell">
<input type="text" name="sRate1" size="15" value='<expresso:AttributeTag name="RATE_HOUR"/>'>
</td>
<td class="tableCell" rowspan="3">
<input type="radio" name="rbBuy" value="L" checked> Lease
<br>
<input type="radio" name="rbBuy" value="C"> Capital
<br>
<input type="radio" name="rbBuy" value="E"> Expendable
</td>
<td class="description" rowspan="2">Quantity to Acquire</td>
<td class="tableCell" rowspan="2">
<input type="text" name="quant" value="1" maxlength="5" size="10">
</td>
</tr>
<tr>
<td class="description">STANDBY</td>
<td class="tableCell">
<input type="text" name="sRate2" size="15" value='<expresso:AttributeTag name="STNDBYRATE_HOUR"/>'>
</td>
</tr>
<tr>
<td class="description">DEMOBILIZATION</td>
<td class="tableCell">
<input type="text" name="sRate3" size="15" value='<expresso:AttributeTag name="RATE_DEMOB"/>'>
</td>
<td class="submit" colspan="2">
<input type="submit" name="Submit" value="Order">
</td>
</tr>
</table>
I have these 3 selections:
Active: # (some number)
Standby: ## (some number)
Demoblization: # (some number)
If for reasons that any of these choices I do noT fill in a number, it throws me to an error page. This means I have to set it in the code to make sure if there is no number put in a null value. Now I do not want to show a '0' value if there is no number entered and not throw me to the error page when I hit the 'submit' button.
Any suggestion ?
thanks,
Ngai
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<table class="one">
<tr>
<td class="description" rowspan="3">Negotiated Rates Each </td>
<td class="description">ACTIVE</td>
<td class="tableCell">
<input type="text" name="sRate1" size="15" value='<expresso:AttributeTag name="RATE_HOUR"/>'>
</td>
<td class="tableCell" rowspan="3">
<input type="radio" name="rbBuy" value="L" checked> Lease
<br>
<input type="radio" name="rbBuy" value="C"> Capital
<br>
<input type="radio" name="rbBuy" value="E"> Expendable
</td>
<td class="description" rowspan="2">Quantity to Acquire</td>
<td class="tableCell" rowspan="2">
<input type="text" name="quant" value="1" maxlength="5" size="10">
</td>
</tr>
<tr>
<td class="description">STANDBY</td>
<td class="tableCell">
<input type="text" name="sRate2" size="15" value='<expresso:AttributeTag name="STNDBYRATE_HOUR"/>'>
</td>
</tr>
<tr>
<td class="description">DEMOBILIZATION</td>
<td class="tableCell">
<input type="text" name="sRate3" size="15" value='<expresso:AttributeTag name="RATE_DEMOB"/>'>
</td>
<td class="submit" colspan="2">
<input type="submit" name="Submit" value="Order">
</td>
</tr>
</table>