0

I created a form in infopath. I'd like to show a section (multiple fields) only when the field name is checked. I was only able to hide the input part, but not the name. Is there a way to hide the fields and their name? When main field is checked the whole section show, otherwise hide/ collapse. The image below shows when field4 is not checked. The input for field1 doesn't show, but the name, field1 is still there.

thank you in advance.
field1 dependent of field4

1 Answer 1

1

The field name cannot be hidden because it is not in any control.

You can add a Section control (under HOME > Controls on ribbon) to the form and then put the field name (text) and the field1 control within.

After that, apply the rules on the Section to hide it on condition.

enter image description here

enter image description here

Here is the outcome:

enter image description here

4
  • Thank you very much!
    – Madeline
    Nov 21, 2020 at 4:58
  • @Madeline Would you accept it as answer if you confirm it to be helpful? It will help others in this forum to find answers quickly as well. Thanks. Nov 23, 2020 at 1:27
  • I would accept this as the answer to my question, but I don't know how to "accept" it. I thought by increasing the vote would do.
    – Madeline
    Nov 24, 2020 at 19:55
  • @Madeline Ok that's fine. Thanks anyway. Nov 25, 2020 at 1:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.