JavaScript causing errors in Lotus Notes client

JavaScript causing errors in Lotus Notes client

I have read the advice about using JavaScript on the Web, and Formula language in Lotus Notes. My problem is that JavaScript causes errors in the Lotus Notes client when the document has been submitted and is stored in the Lotus Notes client. What do I do to avoid this? I am using JavaScript to validate fields on the Web before the user submits the request.

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.

    By submitting your registration information to SearchDomino.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchDomino.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Pull down the "Run" combobox and select "Client" instead of "Web." There's probably some code in there that's messing you up. You can have two sets of code for each JavaScript event -- one for the Web and one for the Notes client, and you can only see one at a time.

If that doesn't help you solve the problem, then perhaps you could show your code and tell what error you're getting and on what line.


Do you have comments on this Ask the Expert Q&A? Let us know.

This was first published in February 2006