<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Check for blank fields without submit</title><link>https://www.infopathdev.com:443/forums/thread/15131.aspx</link><pubDate>Fri, 23 Feb 2007 14:45:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15131</guid><dc:creator>cseibold</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15131.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15131</wfw:commentRss><description>Thank you! That is exactly what I was looking for.&lt;br /&gt;&lt;br /&gt;Next problem:&lt;br /&gt;If the error check fails in code, the user is presented with the read-only EmailSection because the rule that sets the ShowEmailSection flag has already fired.&lt;br /&gt;&lt;br /&gt;Is there a way to include the error check in the rule conditions or reset the hidden flag value in code?</description></item><item><title>Re: Check for blank fields without submit</title><link>https://www.infopathdev.com:443/forums/thread/15130.aspx</link><pubDate>Fri, 23 Feb 2007 04:57:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15130</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15130.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15130</wfw:commentRss><description>Hi Welcome to the Forums,&lt;br /&gt;&lt;br /&gt;Check out this link,&lt;br /&lt;a target="_blank" href=http://infopathdev.com/forums/topic.asp?TOPIC_ID=2484&gt;http://infopathdev.com/forums/topic.asp?TOPIC_ID=2484&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>Check for blank fields without submit</title><link>https://www.infopathdev.com:443/forums/thread/13067.aspx</link><pubDate>Thu, 22 Feb 2007 21:32:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13067</guid><dc:creator>cseibold</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13067.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13067</wfw:commentRss><description>I've got a form where a number of the fields use the 'Cannot be blank' checkbox in the properties. However, it seems like the only time this is evaluated is on Submit.&lt;br /&gt;&lt;br /&gt;I'm using &lt;a href='http://blogs.msdn.com/infopath/archive/2007/01/17/emailing-a-custom-view.aspx' target='_blank' title='http://blogs.msdn.com/infopath/archive/2007/01/17/emailing-a-custom-view.aspx'&gt;this trick&lt;/a&gt; along with something like &lt;a href='http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1006' target='_blank' title='http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1006'&gt;this&lt;/a&gt; to send a custom "view" in the email body.&lt;br /&gt;&lt;br /&gt;The problem is that since my "Submit" button is using Rules and Custom Code to do this, there's no actual Submit action occurring and the user is not prevented from sending the form with nothing filled out.&lt;br /&gt;&lt;br /&gt;Is there a way to force it to check for blank fields without doing a Submit action?</description></item></channel></rss>