Hi,

I'm in the midst of doing some internationalization to an application. By
"some," I mean that numbers, currencies, and dates will be displayed
according to a locale setting. (No multi-language yet.)

I am using qForms for client-side validation. But after using LSNumberFormat
(or after data entry by a non-English system user), the contents of a
numeric form field will have different delimiters than javascript expects. I
need to validate some fields for range, and in other cases, I need to
compare the values of two fields. And I need to use date values for
validation, too.

As I remember, v2 of qForms was supposed to include internationalization,
but I don't believe it has ever been released. It seems I need to convert
the non-English formatted values to the formatting Javascript expects --
which I can do, but -- I'd prefer to do it within the context of qForms.
It's already handling all the validations beautifully, I just want to extend
it.

But after going through the core code, I don't see how I might be able to
apply these conversions before the qForm validations are run. Or perhaps
more properly, within the qForms validations, before the comparisons are
made.

Does anyone have a suggestion on how to approach this with qForms, or does
anyone have any suggestions for other, internationalized javascript
validation libraries? Massimo's TMTValidator has the date formats available,
but I don't see any international number formats.

-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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

Reply via email to