Link to home
Start Free TrialLog in
Avatar of Faraj1969
Faraj1969Flag for Liberia

asked on

Lotusscript Check/Uncheck a CheckBox

Hi Experts

I have form1 where we register all Sections, for example sake we'll use Section1, Section2, Section3. This form have a CheckBox that decides what type of Plans are allowed to create, the options are Semi Annual, Quarterly, Monthly and Periodic.

When user create a document with form2, and select the Section from a Combobox, OnChange event will set some fields value, which is working fine except for the Checkbox field.
The CheckBox field have the same values as form1, computed.

How can we fix that ? hope my explanation is clear. Cheers

Avatar of doninja
doninja
Flag of United Kingdom of Great Britain and Northern Ireland image

So the two forms are similar in that they both have a checkbox with computed options.
Do you mean it is an editable check box (1st tab on field prop) and the options are based on formula (2nd tab on field prop).

Primary is ensure that checkbox field has the option "Refresh choices on document refresh" and that combobox has option "Refresh fields on keyword change"
or that your OnChange code does not cause an error which would stop the refresh event happening.

Avatar of Faraj1969

ASKER

Form1 have the CheckBox editable, Form2 have it computed, the Administrator will set the CheckBox value in Form1. In Form2, based on the user selection for the Section, the CheckBox will just show what values the Administrator selected in Form1. I was able to do that with all other text fields, but not the CheckBox. Also I already did the options you mentioned. Many thanks for the response and support.
ASKER CERTIFIED SOLUTION
Avatar of doninja
doninja
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Many thanks for the support.

Best wishes