How to Check Is Valid Lotus Notes ID
April 17th, 2010
No comments
This JavaScript regular expression will validate a Notes ID. To use the function, call “isValidNotesID” and pass in the Notes ID to be checked and an optional parameter of the number of slashes that should be in the ID. If the parameter is omitted, it defaults to 1 slash. For example, if the ID is supposed to be in the format of “John Doe/MyCompany”, then you can call isValidNotesID(myString). But if the format is supposed to be “John Doe/MyCity/MyCompany”, then you’ll need to call isValidNotesID(myString, 2).
Read more…
Viewed 7560 times by 2057 viewers













