<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Ink Picture not showing and hiding</title><link>https://www.infopathdev.com:443/forums/thread/66093.aspx</link><pubDate>Thu, 21 Apr 2011 16:27:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66093</guid><dc:creator>nollaig</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66093.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66093</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;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.&lt;/p&gt;
&lt;p&gt;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 &amp;quot;+&amp;quot; or &amp;quot;-&amp;quot; to look like a toggle button. This is done in code behind.&lt;/p&gt;
&lt;p&gt;I have a condition on the Ink Picture that if the hidden field has a value of 1 then hide the Ink Picture.&lt;/p&gt;
&lt;p&gt;I also have this same condition for a textbox.&lt;/p&gt;
&lt;p&gt;This seems to work for the textbox but it only seems to hide the Ink Picture and does not show it again.&lt;/p&gt;
&lt;p&gt;Any ideas on how I can accomplish.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>