Field validation for a Web-based application

Field validation for a Web-based application

I need to do field validation for an application that is accessed from the Web. I have a graphic submit button which has an action hotspot @Command(FileSave). I am developing it in Domino 4.6. I have written some Javascript but I'm not sure how to fire it. I wrote on the form itself. I have something like onsubmit in the form HTML attributes but don't know the exact syntax of the code. I would really appreciate if I can get some detailed information on how to get this working.

    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.

onClick="your_js();" On 4.6 you may need to just add this to the HTML attributes doing something like this: "javascript:your_js();"

This was first published in October 2002