Q

Trapping the on-click event of a radio button

SearchDomino.com expert Andre Guirard explains how to trap the on-click event of a radio button in a Lotus Notes client application.

I am developing a Lotus Notes client application. One form contains two radio buttons. When you click on that radio

button, a small dialog box should open. How can I trap the on-click event of the radio button in the client, or show the dialog box in the on-click event of the radio button?

Assuming that clicking the radio button will change its value, you can use the onchange event of the field to capture this. However, I feel that a more desirable UI would use "refresh on keyword change" in conjunction with hide formulas or field- enabled formulas.

Take the fields that you would have put in the dialog and put them on the main form. Have them hidden or disabled (disabled is better) when the radio field does not have the right value to use them. That way, people can see and edit the values of those fields without having to change the radio field twice.


Do you have comments on this Ask the Expert Q&A? Let us know.
This was first published in February 2006

Dig deeper on Lotus Notes Domino Coding and Development

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

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:

SearchWinIT

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

SearchVirtualDataCentre.co.uk

Close