Hello,
I have created a questionnaire, which works fine and all, but I'd like to make a little bit better.. Now, I have a long list of questions, and each questions have 4 possible answers, which are checkboxes. In the end of the questionnaire, I have a control (radio button), which disables all of the checkboxes, so that the people taking the questionnaire or the people going through the answers, can't modify the answers after it has been submitted to Sharepoint. Now, I could go through all of them tens of checkboxes one by one with conditionnal formatting, but it goes without saying that it's very tiresome and slow.
Because of this, I'd like to write a piece of code (the form has visual basic 2003 compatible code, since it necessarily has to work with Infopath 2003), which could disable all the checkboxes if a certain control has a certain value.
For example like this:
if control1 is set to "true"
then disable each control starting with the name "checkbox1", "checkbox2", "checkbox3" etc
Is this possible to do?
Thanks in advance,
Mikko