Combining LotusScript, JavaScript and Formula language

To create hidden hotspot buttons on a form. You can call these buttons with JavaScript in both the client and the web.

What happens when you need to combine the functionality of Formula language, JavaScript or LotusScript? One way is to create hidden hotspot buttons on a form. You can call these buttons with JavaScript in both the client and the web.

Let's say you have an action button that needs to use JavaScript and LotusScript.

(1)Create a JavaScript action button. Enter the JavaScript code you'd like to execute.
(2) Create a LotusScript Hotspot Button. Give the button an ID ( on the <HTML > properties tag )
(3) At the end of your JavaScript code, put this line:
document.forms[0].ButtonID.click()

You can also call the button through Formula language using:
@URLOpen("javascript: document.forms[0].ButtonID.click()")

This was first published in July 2001

Dig deeper on Lotus Notes Domino Formula Language

0 comments

Oldest 

Forgot Password?

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

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close