Hello again,
I am truly frustrated by this issue. It is supposed to be simple.
I have a fieldname called InstallSameAsMailing. This fieldname has a BIT data type.
Some of the values are 1, some are 0 and some are NULL values.
Then we have two form fields that of checkbox controls. One is called Installation and the other is called mailing
Our requirement is that if the value of InstallSameAsMailing is 1, then make installCityStateZip and its contents visible. This works.
Also as long as InstallSameAsMailing has a value of 1, then installation checkbox should be checked and mailing checkbox should be checked as well. Finally mailCityStateZip control should be hidden.
These seem to be working as well.
What I am having problem with so far is if InstallSameAsMailing is not 1 or it is null, make mailCityStateZip hidden, installation checkbox should be checked while mailing checkbox should be unchecked.
So far, when the value InstallSameAsMailing is not 1, mailCityStateZip does not stay hidden, installation is not checked and mailing is not checked. Only mailing should be unchecked if the value InstallSameAsMailing is not 1. I am stuck here unfortunately. Your generous help is greatly appreciated.