How to show a Show/Hide Control/Section on Button Click in InfoPath?

Tag: sharepoint-2010 , show-hide , infopath2010 Author: maozixiaoqin123 Date: 2013-03-23

I have an Optional Section in InfoPath Form which has set to "Do not include section in form by default". I have added a BUTTON control from infopath control toolbox. Now, I want to display this Optional Section on Button Click when form opened in Browser.

Currently, when i open the form in Browser the Section get Hide by default. But, due to this the other controls are not editable(readlonly) and when i Optional Section is added then it is editable!dont know why? So, i want to show this SECTION which has many controls from Sharepoint List and display this section on Button Click!

Help Appreciated! Thanks!