<?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: Hidden Sections with Mandatory Fields</title><link>https://www.infopathdev.com:443/forums/thread/96139.aspx</link><pubDate>Thu, 27 Feb 2014 08:06:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96139</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96139.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96139</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This is fairly easy to accomplish with a custom validation rule. You can simply add one with the following condition:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Employee is existing employee (however you define this in your form) AND&lt;/p&gt;&lt;p&gt;AssetID is blank&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;When you do this, you should remove the &amp;quot;Field is required&amp;quot; property in the field&amp;#39;s settings&lt;/p&gt;</description></item><item><title>Hidden Sections with Mandatory Fields</title><link>https://www.infopathdev.com:443/forums/thread/96138.aspx</link><pubDate>Thu, 27 Feb 2014 03:53:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96138</guid><dc:creator>spanielle85</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96138.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96138</wfw:commentRss><description>Hello All. 

I was wondering if someone could provide an easy solution to this task. 

I am currently building an I.T Employee Request Hardware Form in InfoPath &amp;#39;10 either for a new employee or existing employee.

In the 2 different options different hidden sections appear depending which is chosen. In the sections there mandatory fields. 

i.e a new employee requesting a new hardware device wont have an existing hardware asset ID number. Only an existing employee would. This field would be hidden to the new user. 

Unfortunately I am not very good with code, and I believe there is a validation rule you can apply to disable the asset ID field to not to be mandatory when new employee is selected.

Is there a way to complete this?

Thanks</description></item></channel></rss>