<?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: Conditional Validation Error on Text field</title><link>https://www.infopathdev.com:443/forums/thread/87001.aspx</link><pubDate>Tue, 12 Feb 2013 17:01:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87001</guid><dc:creator>bhben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=87001</wfw:commentRss><description>&lt;p&gt;I found the problem, it was the conditions on my validation.&lt;/p&gt;&lt;p&gt;The validation was only looking at the category field whether the text box was blank or not. I added a second condition to the validation rule saying if the category field equals category 2 AND AssignedToTB is blank, then perform the validation.&lt;/p&gt;</description></item><item><title>Conditional Validation Error on Text field</title><link>https://www.infopathdev.com:443/forums/thread/86994.aspx</link><pubDate>Tue, 12 Feb 2013 09:55:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86994</guid><dc:creator>bhben</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86994.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=86994</wfw:commentRss><description>&lt;p&gt;Hi, I have a field called category, when &amp;quot;category 2&amp;quot; is selected in this field&amp;nbsp;a people picker (Called AssignedTo)&amp;nbsp;appears which i want to be mandatory ONLY when category is selected - i.e. i need conditional validation. Because you can&amp;#39;t add a validation rule to a people picker field, I have created a text field called AssignedToTB. The default value of AssignedToTB is the DisplayName element of the AssignedTo people picker. I have added a validation rule to the AssignedToTB field that says if category is equal to Category 2, the AssignedToTB becomes a required field.&lt;/p&gt;&lt;p&gt;I added the AssignedToTB field to the bottom of the form&amp;nbsp;to test the problem that I am experiencing:&amp;nbsp;&lt;/p&gt;&lt;p&gt;In previewing the form, I select Category 2 meaning the people picker appeared (its in a section with a rule to make the setion appear). The AssignedToTB field also gets a red asterix - as it should because the validation rule is now activated. Then&amp;nbsp;I enter a valid name of an employee&amp;nbsp;into the people picker field (lets say Joe Bloggs) and in the AssignedToTB field the red asterix changes to a red dashed border suggesting that the contents are invalid. The form fails to submit using the custom submit button throwing up a validation error. The custom submit button sets the value&amp;#39;s of some unrelated fields and initiates a data connection which emails the form&lt;/p&gt;&lt;p&gt;The AssignedToTB&amp;nbsp;field is text (string), with no formatting rules. The field is set to refresh when the formula is recalculated.&lt;/p&gt;&lt;p&gt;As far as i can see, there is no reason why a name such as Joe Bloggs is classed as invalid data in a text (string) field.&lt;/p&gt;&lt;p&gt;Does anyone haev any ideas why this might be happening?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Ben&lt;/p&gt;</description></item></channel></rss>