<?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: Validation rule to be activated only on click on submit.</title><link>https://www.infopathdev.com:443/forums/thread/104405.aspx</link><pubDate>Mon, 19 Oct 2015 06:03:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104405</guid><dc:creator>Himanshu_Saxena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104405.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104405</wfw:commentRss><description>There are couple of ways for this.

I have created a sample and attaching it. I have 3 fields 1. Name 2. Age and 3. Email. On submit button I am checking each filed, if it is blank or not. The pop-up will not work in browser based form so I have created new fields with each filed say NameCheck, AgeCheck and EmailCheck to show the error message. The Error Check fields are hidden.

Now when you will click on the Submit first it&amp;#39;ll check the name and if it is blank it&amp;#39;ll show an error message saying Name can&amp;#39;t be blank and so on. The validation rules are in a sequence and I have submit in the end ie. after all the validations. We can show the error message in the same field but it won&amp;#39;t be true when I&amp;#39;ll click second time. (Try to understand this part and this is the reason why I have added an extra field.). Once a rule is true the control will not go to next.

Once all the rules are false ie. all the fields having a value the control will go to the Submit option and before submitting, we need to clean all the error message. (This part is necessary or else you&amp;#39;ll be having the error messages, even after submitting.)

Please save the form locally and modify the submit data connection.

Please let me know if you have any question.</description></item><item><title>Re: Validation rule to be activated only on click on submit.</title><link>https://www.infopathdev.com:443/forums/thread/104305.aspx</link><pubDate>Mon, 12 Oct 2015 06:51:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104305</guid><dc:creator>abiigdog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104305.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104305</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Would be a rule on the submit button. The rule would be if Color of Eyes is blank OR Gender is blank (repeat as many times as you have mandatory fields) then change view to the &amp;quot;education&amp;quot; view (for lack of a better word). Just make sure you have a button on the education view that returns them back to the first view. The user will still have to click through the form generated warning that it couldn&amp;#39;t be submitted, just fyi.&lt;/p&gt;</description></item><item><title>Re: Validation rule to be activated only on click on submit.</title><link>https://www.infopathdev.com:443/forums/thread/104158.aspx</link><pubDate>Mon, 28 Sep 2015 12:49:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104158</guid><dc:creator>ajith.mannil@xe04.ey.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104158</wfw:commentRss><description>&lt;p&gt;I Like option two, but&amp;nbsp;what would be the condition rule? How would I set that rule?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Validation rule to be activated only on click on submit.</title><link>https://www.infopathdev.com:443/forums/thread/104151.aspx</link><pubDate>Mon, 28 Sep 2015 06:46:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104151</guid><dc:creator>abiigdog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104151</wfw:commentRss><description>&lt;p&gt;Any field with a red asterisk is supposed to signal the user that that field is mandatory, you probably knew this but just making sure, user education may be the quickest way to solve this.&lt;/p&gt;&lt;p&gt;Assuming you already know this here is what I would do. Hilary, the all wise and powerful, will probably have a better way but this is my stab at it.&lt;/p&gt;&lt;p&gt;For every field that is mandatory create another text box. So if the field ColorOfEyes and the field Gender are mandatory create two more textbox fields, say call it ColorEyeBlankCheck and GenderBlankCheck.&lt;/p&gt;&lt;p&gt;For each mandatory&amp;nbsp;field set a rule, condition will be If ColorOfEyes is blank, set a fields value, this field will be the ColorEyeBlankcheck, and the value you set will be the text &amp;quot;Color Of Eyes Field cannot be blank&amp;quot;. Do the same for the Gender field.&lt;/p&gt;&lt;p&gt;Create another textbox called SummaryOfBlankFields. The value of this field will be all the XBlankCheck field values concatonated together. If one of the mandatory fields has text in it nothing will be in the blankcheck value so you won&amp;#39;t see it in the Summary field, but if the mandatory field is blank then the text will display.&lt;/p&gt;&lt;p&gt;Create a section, put the SummaryofBlankfields text box in there. Have text in the section that says Fields you have left blank: then place the Summary text box after it. Have a&amp;nbsp;rule on the submit button that hides the&amp;nbsp;section unless any of the mandatory fields are blank. This will be your &amp;quot;popup&amp;quot;.&lt;/p&gt;&lt;p&gt;Option two:&lt;/p&gt;&lt;p&gt;Create a new view, the view&amp;nbsp;educates the user by telling them some mandatory fields have been left blank and it has not been submitted, and to return to the form and look for the red asterisks. This view would be a rule on the submit button, the conditon would be if any of the mandatory fields&amp;nbsp;are blank then switch views to this view. Have a return to the form button on the new view so the user newly educated can go back and fix their error then click submit again.&lt;/p&gt;</description></item><item><title>Re: Validation rule to be activated only on click on submit.</title><link>https://www.infopathdev.com:443/forums/thread/104149.aspx</link><pubDate>Mon, 28 Sep 2015 05:55:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104149</guid><dc:creator>ajith.mannil@xe04.ey.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104149.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104149</wfw:commentRss><description>Yes.. All fields are mandatory.. once users click on submit they should get an pop stating which fields are left blank</description></item><item><title>Re: Validation rule to be activated only on click on submit.</title><link>https://www.infopathdev.com:443/forums/thread/104147.aspx</link><pubDate>Mon, 28 Sep 2015 05:40:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104147</guid><dc:creator>abiigdog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104147.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104147</wfw:commentRss><description>So by mandatory do you mean cannot be blank? And if there is a blank have any attempt to submit fail and something advise the user which field they left blank? Does that sum the problem up?</description></item><item><title>Validation rule to be activated only on click on submit.</title><link>https://www.infopathdev.com:443/forums/thread/104137.aspx</link><pubDate>Fri, 25 Sep 2015 10:20:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104137</guid><dc:creator>ajith.mannil@xe04.ey.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104137</wfw:commentRss><description>I have a form created with many fields which are mandatory. I want a validation to be done on the sheet for all fields before it has been submitted.

Also looking for a customize error message which says which are the fields which are left blank

Can someone help me on this?</description></item></channel></rss>