JavaScript creates a jump box on a Lotus Notes Web form

JavaScript creates a jump box on a Lotus Notes Web form

Lotus Notes users can jump to other pages on a website using a drop-down menu you created using this JavaScript. This tip explains the steps to embed the JavaScript code into a Notes/Domino Web form.

Related resources from SearchDomino.com:
Validate Lotus Notes Domino fields using JavaScript

Converting Lotus Notes views to XML documents using JavaScript

JavaScript Reference Center

    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.

  1. Create a class for jump box contents in a CSS stylesheet. This visually integrates it into your form design. In my example, I named the class "jump."
  2. Create a <form> tag and name it. I named my tag "jump1."
  3. Produce a <select> tag that explains what to do when you select an item from the drop-down box.
  4. Build your drop-down list in which each item consists of an <option> tag. This will tell your browser where to go and the drop-down item link text associated with it.
  5. Start the list with the default value you'd like to display in the jump box. For instance, my default value is "Jump to Section." Note: The default value will not have a URL associated with it.
  6. After you've created your dropdown list, close the </select> tag and then close the </form> tag.

Note: If you plan to use your jump box in more than one form, you can also put it in a subform.


(Click on code for enlarged view and script download.)

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip library by member Helana Neumann. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes/Domino technical tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

This was first published in January 2009

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.