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

Faraj1969System AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Faraj1969System AdministratorAuthor Commented:
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.
A computed check box is just a field as it's value is fixed, so not really a good idea to have it computed.
You may as well just have a text field that is computed and that will save all this problem. If you want it to look good then have some hide formulas that show tick graphic next to selected options.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Faraj1969System AdministratorAuthor Commented:
Many thanks for the support.

Best wishes
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.