<?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>Re: Printing with a required field</title><link>https://www.infopathdev.com:443/forums/thread/63368.aspx</link><pubDate>Thu, 20 Jan 2011 16:57:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63368</guid><dc:creator>witakr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63368.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=63368</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I know this thread is a little old but it addresses my exact problem...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tried looking for what you mentioned Mr. Halstead but I couldn&amp;#39;t find it. I am using InfoPath 2010.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I need to prevent printing if the user fails to fill a required field.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can we revisit this issue with a focus on IP 2010?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank for your help!&lt;/p&gt;&lt;p&gt;Jay &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Printing with a required field</title><link>https://www.infopathdev.com:443/forums/thread/44084.aspx</link><pubDate>Fri, 10 Jul 2009 00:35:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44084</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=44084</wfw:commentRss><description>&lt;p&gt;Great question and one that I have never ever seen before! :)&lt;/p&gt;
&lt;p&gt;The really simple way to do this is to use a conditional Print View. Define a print view that is wrapped in one big conditional section. If the field is blank, you hide the section and instead display some message like &amp;quot;form is not complete - please make sure all required fields are entered and try again&amp;quot;. The user will see that when they print. It&amp;#39;s an easy trick which doesn&amp;#39;t require a ton of work. In the Designer, go to Design Tasks and click Views. At the bottom of the task pane, choose &amp;quot;Create Print Version for this View&amp;quot;. Add an optional section to your data source. Copy all of the controls into it. Double click and add the conditional formatting so that it doesn&amp;#39;t show when the form is not filled out.&lt;/p&gt;
&lt;p&gt;To prevent the actual printing will require more work. You&amp;#39;ll need to write code to intercept the On Print event and then check the error board and see if any fields are present. I forget whether OnPrint requires Full Trust or not (Tools-&amp;gt;Form Options-&amp;gt;Security)...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Printing with a required field</title><link>https://www.infopathdev.com:443/forums/thread/44074.aspx</link><pubDate>Thu, 09 Jul 2009 19:38:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44074</guid><dc:creator>Mosel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44074.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=44074</wfw:commentRss><description>&lt;p&gt;Hello All!&lt;/p&gt;
&lt;p&gt;I have deisgned a form with a print view. How does one prevent printing if a required field has not been filled in? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;</description></item></channel></rss>