Problem solve Get help with specific problems with your technologies, process and projects.

Assigning values from a JavaScript variable to LotusScript variables

Is there any way we can assign value from a JavaScript variable to LotusScript variables?
If you create a hidden field on your form, you can easily assign the value of a JavaScript value into it with code like this:
.x.value = myJsVar
Now that the JavaScript variable is in a form field, you can get it into a LotusScript variable by the uidoc.FieldGetText method, like this:
LSVar = uidoc.FieldGetText("x")
where x is the name of the hidden field, and LSVar is the name of a LotusScript variable (dim LSVar as String).

Dig Deeper on JavaScript for Lotus Notes Domino

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury