>- see footer for list info -<
If you want to run your own scripts when a form is submitted in addition to
the ones CFFORM adds, ad an onclick event to the submit button.
If you want to go all out, you can make a copy of the CFIDE folder and
modify the XSLT that generates the form validation javascript and add in
your own.

Russ

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Smyth
Sent: 19 March 2007 13:28
To: 'Coldfusion Development'
Subject: RE: [CF-Dev] cfform and javascript

>- see footer for list info -<
 
This doesn't do the trick?

<cfinput name="xx" validate="integer">


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Allan Cliff
Sent: 19 March 2007 10:41
To: Coldfusion Development
Subject: Re: [CF-Dev] cfform and javascript

>- see footer for list info -<
don't get me started, 2 bloody hours messing with this!

Rich Wild <[EMAIL PROTECTED]> wrote: >- see footer for list info -< or not
using cfform at all..

*mutter* *grumble*

On 3/19/07, Duncan Cumming  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.
> 
> 
> REQUIRED="yes" MESSAGE="please enter field">
> 
>
> Simply a field which is required but also needs to be only numbers.
> When Coldfusion processes it ends up as
>
>
> > _CF_checkCFForm_1(this)">
>  [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
> -<
>
_______________________________________________

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 
>-<


                
---------------------------------
 Copy addresses and emails from any email account to Yahoo! Mail - quick,
easy and free. Do it now...
_______________________________________________

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 
>-<




_______________________________________________

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 -<


_______________________________________________

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 -<

Reply via email to