<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Trouble using conditioning for Date and Time Picker</title><link>https://www.infopathdev.com:443/forums/thread/116103.aspx</link><pubDate>Fri, 21 Apr 2017 17:05:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116103</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=116103</wfw:commentRss><description>I&amp;#39;m glad it was something simple. Honestly, this is something that confuses a lot of people (me included, it took me a while to really get this concept) that action rules need to be on the field that triggers the rule (not the target!) AND they only execute when the field changes. So if your field is equal to 1, for example, and you set it to 1 again, that rule won&amp;#39;t fire again. :)</description></item><item><title>Re: Trouble using conditioning for Date and Time Picker</title><link>https://www.infopathdev.com:443/forums/thread/116102.aspx</link><pubDate>Fri, 21 Apr 2017 16:52:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116102</guid><dc:creator>cingram7</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=116102</wfw:commentRss><description>sometimes it&amp;#39;s the little things! I feel silly having my first post on this forum be something so simple. Thank you!</description></item><item><title>Re: Trouble using conditioning for Date and Time Picker</title><link>https://www.infopathdev.com:443/forums/thread/116101.aspx</link><pubDate>Fri, 21 Apr 2017 16:25:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116101</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116101.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=116101</wfw:commentRss><description>Are your rules on the date field? Or on the Office Location field? Rules go on the field that is changing, not on the field they are affecting...</description></item><item><title>Trouble using conditioning for Date and Time Picker</title><link>https://www.infopathdev.com:443/forums/thread/116100.aspx</link><pubDate>Fri, 21 Apr 2017 16:18:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116100</guid><dc:creator>cingram7</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116100.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=116100</wfw:commentRss><description>Fairly new to SharePoint and InfoPath. I searched for a while and couldn&amp;#39;t find this specific issue mentioned - my apologies if this is a repost.
 
I&amp;#39;m nearly complete building an all-encompassing internal request form for my company. The company has offices in L.A., Chicago, and Atlanta which will all be using the form. My most glaring issue at this point is that the Date and Time Picker will not auto populate with the rules I&amp;#39;ve placed on it.
The form forces the user to choose the office location via drop-down list (one of the three cities) before revealing a section which contains the Date and Time Picker. The picker remains blank until the user activates it and chooses a dummy date. When any date is selected, the rules suddenly kick in and the field is populated according with the city chosen in the drop-down list. I&amp;#39;ve tried adding a button to update/refresh the form next to this date picker, but neither have worked.
 
I am comfortable writing some basic if/then/else scripts, but I&amp;#39;ve not found a way to translate this to XPath and not sure if XPath syntax allows this.
 
Ideally I would like the date/time population (and really any field with conditions) to be as abrupt as the display and hiding of different sections I&amp;#39;ve created rules for.</description></item></channel></rss>