Environment:I have created a form with the special fields “SaveOptions” and “MailOptions” both set to 0, cause I want that documents created with that form only get saved via a customized save action. When opening the form, it is opened directly in edit mode via “@Command([EditDocument])” in the OnLoad Event of the form.
Concerned Fields:
On this form is a Radio Button field A, which gets its values from a hidden field B on the same form. Field B is a multivalue field. This works fine so far.
Sense of the Radio Button:
The Radio Button field is just for displaying and browse values in hidden fields. It is not meant for saving values. So documents created with this form never have a value in the Radio Button field A.
The Problem:
Today, when the form opens up, all values from hidden field B are displayed as options in the Radio Button field A, but none is selected. Users have to select desired values, even if there is just one option in the Radio Button field A.
What I want:
-
Determine one value from hidden field B through calculations
-
Set this determined value of hidden field B as the selected one in the Radio Button field A when the form opens up.
How can I set the selected option of a Radio Button filed in Domino Designer?