<?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: Rule or XPath to Return Result?</title><link>https://www.infopathdev.com:443/forums/thread/119462.aspx</link><pubDate>Tue, 17 Jul 2018 15:30:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119462</guid><dc:creator>clutchrider</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119462.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119462</wfw:commentRss><description>That is a huge help in understanding the logic. Now I just need to figure how to get time to calc across multiple entries. New post coming soon I think.</description></item><item><title>Re: Rule or XPath to Return Result?</title><link>https://www.infopathdev.com:443/forums/thread/119461.aspx</link><pubDate>Tue, 17 Jul 2018 15:28:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119461</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119461.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119461</wfw:commentRss><description>Glad you got it working! One thing that I found hard to remember when I started with InfoPath was where rules go - you want your rules on the field that will be changing. Action rules fire when a field changes, so if you want to set fieldB when fieldA has a certain value, the rule goes on fieldA. :-)</description></item><item><title>Re: Rule or XPath to Return Result?</title><link>https://www.infopathdev.com:443/forums/thread/119458.aspx</link><pubDate>Tue, 17 Jul 2018 12:52:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119458</guid><dc:creator>clutchrider</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119458</wfw:commentRss><description>I got it! I just had to play with where the rules were placed and where they were pointing to! Thank you!</description></item><item><title>Re: Rule or XPath to Return Result?</title><link>https://www.infopathdev.com:443/forums/thread/119456.aspx</link><pubDate>Tue, 17 Jul 2018 12:41:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119456</guid><dc:creator>clutchrider</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119456.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119456</wfw:commentRss><description>I tried this application but was not successful. Your field1 for me would be a calc field called ActualTime that displays the difference in time in decimal format for total hours entered that day (punch in/out). That field should show the total time regardless, then it should be populating a RegTime field with up to 8 hours and anything over 8 hours into a field called OverTime all based on the ActualTime field.. 

The end results would show as attached where fields ActualTime, RegularTime, OverTime would all be auto populated based on my scenario.

I think we are close though.</description></item><item><title>Re: Rule or XPath to Return Result?</title><link>https://www.infopathdev.com:443/forums/thread/119431.aspx</link><pubDate>Thu, 12 Jul 2018 15:31:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119431</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119431.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119431</wfw:commentRss><description>An action rule should do this. See attached - save the file locally, right click and select design, then preview &amp;amp; try it out. Rules are on field1.</description></item><item><title>Rule or XPath to Return Result?</title><link>https://www.infopathdev.com:443/forums/thread/119426.aspx</link><pubDate>Wed, 11 Jul 2018 18:56:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119426</guid><dc:creator>clutchrider</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119426.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119426</wfw:commentRss><description>I have a form that is essentially a time sheet. I have set fields to calculate the difference between time (in/out) and provide the result in a field as a decimal (i.e. 8am-1230pm results in the Actual Time field showing 4.5). What I would like to do is expand this to have two additional fields that pull this number apart. The fields are Regular Hours and Overtime. The Regular Hours field should display the Actual Time field entry up to 8 hours and the Overtime field should display any time above 8 hours from Actual Time.

I was attempting to be simple and use an Action rule to say if the value in Actual Time is less than or equal to 8 then populate the Regular Hours with that entry. That returns nothing so I started looking for ways to use Xpath to simply return but it looks like having this type of statement is not so easy to calculate/compute. 

Thanks in advance!</description></item></channel></rss>