Thanks Dave,
It's been a bad example
on this one validation on my cfinput forms not working
<script language="javascript">
function ValidateForm()
{
if (document.form.ESC.value == "")
{
alert('You have not entered an account number')
document.form.ESC.focus();
return false;
}
return true;
}
</script>
<cfform action="" method="post" name="form" onSubmit="return ValidateForm()">
<table width="600" border="1">
<tr>
<td> </td>
</tr>
<tr>
<td><label>
<cfinput type="text" name="ESC" validate="float"/>
</label></td>
</tr>
<tr>
<td><input type="submit" name="submit" value="submit" /></td>
</tr>
</table>
</cfform>
> Please advise
> Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303343
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4