RE: Translating CFFORM Error Messages

2007-07-06 Thread Oğuz_Demirkapı
Hi,

Why don't you try to use message attribute for cfform items?

cfinput type=text name=username message=My Custom Msg!

If you need to change anything on any default form items, you can copy the 
/cfide/scripts/ directory into your webroot and change it as you like and 
refer it as following with scriptsrc attribute.

cfform action=#formaction# method=post scriptsrc=/js/cfform.js
cfinput type=text name=username message=My Custom Msg!
/cfform

I hope this helps.


Sincerely,

Oğuz Demirkapı

Sr. Developer | TeraTech
http://www.teratech.com 




-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 06, 2007 1:17 PM
To: CF-Talk
Subject: Translating CFFORM Error Messages

One of the gals on our team is trying to translate the error messages
that CFFORM's JS validation displays to the user.  Anyone know how to
do that?

thanks,
barneyb

-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283092
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Translating CFFORM Error Messages

2007-07-06 Thread Paul Hastings
Oğuz_Demirkapı wrote:
   cfinput type=text name=username message=My Custom Msg!

why not use resource bundles for this  leave the js lib alone?

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283094
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4