Lotus Notes / LotusScript

1,555 pts.
Tags:
JavaScript
Lotus Notes 8.5.3
LotusScript
How to know the separator value in numeric field when user of different location uses different separator value. ie In India we use "," as thousand separator and "." as decimal values? In case of web application JavaScript validation fails in such cases. Please suggest field validation in JavaScript for this case.

Software/Hardware used:
lotus notes8.5.3, javascript
ASKED: March 4, 2013  11:41 AM
UPDATED: March 4, 2013  12:56 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Use the NotesInternational class, which is part of the NotesSession

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • SlikTool
    Added:Since I missed part about Javascript, not sure my suggestion will work, as in the case of a web application, that would be the settings for the server - not the user. I thought Javascript was suppose to automatically use the computer's settings. If you need to know what it used, perhaps you could set a value and check. For example, set a variable to 1 million and see how it is delimited. Or for a date, do the same thing. Set a date object to Now, and determine the format.
    1,840 pointsBadges:
    report
  • TomLiotta
    Many posts are in forums all over the internet about javascript and problems with locale settings. I've seen a few useful answers, but all of them relate to specific javascript framework implementations. Please describe the specific tools you are using to create your javascript. Maybe a solution exists. -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following