<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Data Validation Using Rules (IP 2003)</title><link>https://www.infopathdev.com:443/forums/thread/37879.aspx</link><pubDate>Fri, 30 Jan 2009 06:54:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37879</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37879.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37879</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;One way is add a boolean field to the schema with default value to false and make that field true after the submitting the mail. Means you have set the Boolean field value to true as the next action in the rule where you are submitting the mail. And add a conditional formatting to the buttons that the expression you are using now to hide/show buttons and if the Boolean field is true. &lt;/p&gt;</description></item><item><title>Data Validation Using Rules (IP 2003)</title><link>https://www.infopathdev.com:443/forums/thread/37646.aspx</link><pubDate>Mon, 26 Jan 2009 12:11:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37646</guid><dc:creator>jtownson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37646.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=37646</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Is there a way of doing a full form validation using rules on a button?&amp;nbsp; Preferably with&amp;nbsp;a custom error message? I dont like the &amp;quot;Some Rules were not applied&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is for a submit button (Submit to email and sharepoint)&amp;nbsp;but I can&amp;#39;t use the &amp;quot;Submit&amp;quot; function as&amp;nbsp;I want to use Rules&amp;nbsp;AND Form code and submit will only do one or the other.&amp;nbsp; I also can&amp;#39;t put the validation in code as the code runs after rules and the validation needs to be before.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many Thanks &lt;/p&gt;
&lt;p&gt;J&lt;/p&gt;
&lt;p&gt;PS If you are wondering why I am doing this, we have a problem with people clicking on Cancel (after submit) when the email message pops up.&amp;nbsp; This stops the rules but by this point the status field&amp;nbsp; on the form has&amp;nbsp;changed and the form now shows an approve button which the submitter shouldnt see.&amp;nbsp; I have got round this by having a line in code that changes the status back after the rules have stopped running - this hides the approve button and shows submit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>