>- see footer for list info -< Thanks. Have just realised its CF6 http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm
Have tried VALIDATE="regular_expression" PATTERN="[0-9]" This seems ok. Thanks Duncan Cumming <[EMAIL PROTECTED]> wrote: >- see footer for list info -< onkeypress is not an attribute of the cfinput tag. there's onkeyup and onkeydown. but you might be better using mask="9" http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000279.htm Duncan Cumming New Media Developer Customer Relations Management / Education Fife Council 700 4105 / 01592 414105 >>> [EMAIL PROTECTED] 19/03/2007 09:34 >>> >- see footer for list info -< I have some code which is a test form. Simply a field which is required but also needs to be only numbers. When Coldfusion processes it ends up as [input] 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 -< ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed and should not be disclosed to any other party. If you have received this email in error please notify your system manager and the sender of this message. This email message has been swept for the presence of computer viruses but no guarantee is given that this e-mail message and any attachments are free from viruses. Fife Council Tel: 08451 55 00 00 ************************************************ _______________________________________________ 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 -< --------------------------------- New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. _______________________________________________ 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 -<
