Getting The Currently Selected Item In A Listbox For Use By Lotusscript And Other Languages

If using R5, this is a very nice way to get the selected index of a list, for
use by formula, LotusScript, etc.:

Place the following code in the onChange() event of a listbox (replace the
field names with the names of your fields).

objForm = document.forms[0];

objForm.txtListSelectedIndex.value = objForm.lstListName.selectedIndex;

You can then use the value in the selectedIndex field to determine which
element is selected. This would also be possible on the web with previous
versions of Domino, but not in the R4 client.

Dig Deeper on JavaScript for Lotus Notes Domino



  • iSeries tutorials'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 ...