Hi,
I have an infopath filler form and I am trying to show and hide an Ink Picture control using a toggle button. I have been able to show and hide text boxes easily enough but I can only seem to hide an Ink Picture.
I have a button and a hidden field. When the button is clicked I set the text of the hidden field to either 0 or 1 and also set the text of the button to "+" or "-" to look like a toggle button. This is done in code behind.
I have a condition on the Ink Picture that if the hidden field has a value of 1 then hide the Ink Picture.
I also have this same condition for a textbox.
This seems to work for the textbox but it only seems to hide the Ink Picture and does not show it again.
Any ideas on how I can accomplish.