How might I go about showing or hiding controls in an InfoPath 2007 form In this case, its "Section" controls that I need to show or hide based on some conditions (the built in conditional formatting tool is not powerful enough to handle this).

I am having a lot of trouble finding appropriate resources on the web that could help me figure this out.

Oh, and I am using C#.



Re: Visual Studio Tools for Office Hiding form controls in InfoPath 2007.

Ji Zhou ¨C MSFT


This is not a VSTO related issue! However there was already some discussion about this topic on the net and you can search it out via Google Group. It is told that we can put the control in a section and apply the conditional formatting on that section to make it visible or invisible. Please refer this link to see if it helps: hl=en&lnk=st&q=How+to+Hide+Form+Controls+in+InfoPath+2007&rnum=9#770f4231992a6d5c