<?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: Problem with input validation on submit</title><link>https://www.infopathdev.com:443/forums/thread/79312.aspx</link><pubDate>Thu, 07 Jun 2012 07:49:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79312</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79312.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=79312</wfw:commentRss><description>&lt;p&gt;I suppose you could do a double submit and add the status field setting after the first submit which won&amp;#39;t succeed if the form is invalid (therefore it won&amp;#39;t get set). The second submit just submits the form again with the status field set. A bit of a kluge but probably easiest solution.&lt;/p&gt;&lt;p&gt;Another random approach. If you&amp;#39;re required fields have a special suffix (for example, reqField1,) you could use a fancy xpath to test them all without having to list them all. That won&amp;#39;t work if your form is already in production (since it would require a data source change).&lt;/p&gt;&lt;p&gt;You could also use our qRules plugin to get the errors and disable the Submit button if the number of errors is &amp;gt;0. &lt;/p&gt;&lt;p&gt;Happy trails,&lt;/p&gt;&lt;p&gt;P&lt;/p&gt;</description></item><item><title>Problem with input validation on submit</title><link>https://www.infopathdev.com:443/forums/thread/79197.aspx</link><pubDate>Mon, 04 Jun 2012 13:16:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79197</guid><dc:creator>bernhard</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79197.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=79197</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;here&amp;#39;s something I couldn&amp;#39;t really solve so far:&lt;/p&gt;&lt;p&gt;When clicking on a submit button in a form I often change the value of a status field. This value is used e.g. for conditional formatting to show/hide or write protect fields/sections in my forms.&lt;/p&gt;&lt;p&gt;Now when a user e.g. forgets to fill out a required field and clicks on submit then the form is not saved and the user can add the required value. However, the rule that is set on the submit button has been executed, the value is changed and fields that shouldn&amp;#39;t be displayed in the current status of the&amp;nbsp;form&amp;nbsp;are shown etc.&lt;/p&gt;&lt;p&gt;I could set a condition for all required fields etc. for all rules on the submit button but this is pretty annoying. Also I have used a SharePoint Designer workflow to change a value since the workflow is executed after successful submitting of a form.&lt;/p&gt;&lt;p&gt;Is there any better way to get the required functionality?&lt;/p&gt;&lt;p&gt;Thanks for any ideas.&lt;/p&gt;&lt;p&gt;Best regards, Bernhard&lt;/p&gt;</description></item></channel></rss>