>- see footer for list info -<
I have some code which is a test form.
<CFFORM ACTION="test.cfm" METHOD="POST">
<CFINPUT onkeypress="return isNumberKey(event)" type="text" name="txtChar"
REQUIRED="yes" MESSAGE="please enter field">
</CFFORM>
Simply a field which is required but also needs to be only numbers.
When Coldfusion processes it ends up as
<FORM NAME="CFForm_1" ACTION="test.cfm" METHOD="POST" onSubmit="return
_CF_checkCFForm_1(this)">
<INPUT TYPE="text" NAME="txtChar">
</FORM>
Coldfusion has removed the javascript i added.
Anyone had this problem?
If I make cfinput only input its fine but then i can't use the required
attribute.
Any ideas?
Thanks, i know it Monday.
Allan
---------------------------------
All New Yahoo! Mail Tired of unwanted email come-ons? Let our SpamGuard
protect you.
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<