<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Check fields entries before submit</title><link>https://www.infopathdev.com:443/forums/thread/42025.aspx</link><pubDate>Mon, 25 May 2009 10:36:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42025</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=42025</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;One way is in the button click event, check the length of the mandatory fields, and if any of the mandatory field length is zero then return a message. Otherwise submit the form.&lt;/p&gt;</description></item><item><title>Check fields entries before submit</title><link>https://www.infopathdev.com:443/forums/thread/42022.aspx</link><pubDate>Mon, 25 May 2009 09:51:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42022</guid><dc:creator>cywan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42022.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=42022</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In the InfoPath forms,&amp;nbsp;beside using data&amp;nbsp;validation to validate the mandatory fields, how can i achieve it by using only the submit button at the end of the form to validate first before&amp;nbsp;save?&lt;/p&gt;
&lt;p&gt;This is because i dont want&amp;nbsp;my fields to display screen tips by using the data validation. I wish to have the function where once user has&amp;nbsp;fill in all the fields in the form and when click on &amp;#39;Submit&amp;#39; button, the button will check whether the mandatory fields had been fill up before save. If the mandatory field not yet fill up then the form return&amp;nbsp;a message&amp;nbsp;to request user to fill up and re-submit the form again.&lt;/p&gt;
&lt;p&gt;Please advice how can i do the validation control in the &amp;#39;Submit&amp;#39; button?&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>