<?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: Cannot be blank feilds are not validating the form</title><link>https://www.infopathdev.com:443/forums/thread/83480.aspx</link><pubDate>Fri, 12 Oct 2012 10:18:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83480</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83480.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83480</wfw:commentRss><description>&lt;p&gt;Several things come to mind:&lt;/p&gt;&lt;p&gt;I kid you not, reverse what you have written as your condition, change cannot be blank, to blank. I can often get them the wrong way round, even though in my mind it makes perfect sense, what my condition is. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Why not validate the fields before you need to submit the data?&amp;nbsp; That way you should see an asterisk or red dash around your fields before some information is input into the fields.&lt;br /&gt;&lt;/p&gt;&lt;p&gt; If the validation is based on several conditions, check each condition separately, step by step.. &lt;/p&gt;&lt;p&gt;Add a dummy text field to the form and set it&amp;#39;s default value to the field you are validating against. Then you should see what Infopath sees and the field value and why it&amp;#39;s not validating as expecting.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Cannot be blank feilds are not validating the form</title><link>https://www.infopathdev.com:443/forums/thread/83479.aspx</link><pubDate>Fri, 12 Oct 2012 09:45:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83479</guid><dc:creator>vkkts1982</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83479.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83479</wfw:commentRss><description>&lt;p&gt;I have a form with some &amp;quot;Cannot be blank&amp;quot; fields(Mandatory). And also some code behind on button click. When i click the button without entering values in the mandatory fields, the validations are not working. &lt;/p&gt;
&lt;p&gt;Can anybody help me, please..&lt;/p&gt;</description></item></channel></rss>