I have a check box and a text field in my InfoPath form. When the check box is unchecked, I would like to clear the field content and then mark it as read-only.
I created a conditional formatting to mark the form as read-only and then a rule to clear the field content. However, I found that every time I enable both of them, the rule will not run.
To make sure, I created a pop-up dialog box in the rule too and I found every time I enable the conditional formatting to change the text field as read-only the dialog box will not show.
I am suspecting that by changing the text field to read-only suppresses the rule, which clears the text field content. Anyone knows how to fix this?