Hide/show a colum with a button - InfoPath Dev
in

InfoPath Dev

Hide/show a colum with a button

Last post 02-13-2015 11:53 AM by Bre Huston. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-10-2015 02:39 AM

    Hide/show a colum with a button

     HI, I have a form with an instruction column and I want to add a button to hide/show the column so people can effectively "open or "close" the instruction pane.

     

    Any ideas?

     

    Dave 

  • 02-13-2015 11:53 AM In reply to

    Re: Hide/show a colum with a button

     Hello Dave,

    For this scenario you will need what we call a helper field. I would have the default value of the field set to 0, and then the button would switch to 1. In this instance you can have 1 button (trickier logic) or 2 buttons. With 2 buttons, 1 will set your helper to 1, and the other will set your helper to 0. Then on your instructions field add a formatting rule to hide when your helper is equal to 0.

    If you are using a repeating section you can actually display the repeating section twice in your form. You will get design errors related to having the section in your form multiple ties, but those can be ignored. ! section would contain the field for instructions, and the other would not. Then using the same logic you can choose which section displays based on your helper field value.

    Hope that helps!
    Bre

    Bre Huston | Project Manager

    Qdabra® Software / InfoPathDev.com / FormsQuo /  877.544.2389 main / 425.318.7843 direct

    Business Process Automation for Everyone – Streamline data gathering to turn process into knowledge.™

     

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.