<?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: Verify Expression Box Before Submission</title><link>https://www.infopathdev.com:443/forums/thread/11878.aspx</link><pubDate>Thu, 17 Aug 2006 00:05:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11878</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11878</wfw:commentRss><description>Expression boxes do not store values. If you need to store the value, use a Text box with a default value formula.&lt;br /&gt;&lt;br /&gt;If you need your submit button to verify that the value in the expression box equals a certain number, then you will need to repeat the expression in your button condition.</description></item><item><title>Verify Expression Box Before Submission</title><link>https://www.infopathdev.com:443/forums/thread/11709.aspx</link><pubDate>Wed, 16 Aug 2006 19:39:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11709</guid><dc:creator>Methtical</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11709.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11709</wfw:commentRss><description>Hello,&lt;br /&gt;I'm new to posting in the forum and Infopath.  I am developing an employee time keeping form for my department and have found this site very helpful.  I was wondering if anyone could assist me in completing it.  &lt;br /&gt;&lt;br /&gt;Basically I have a repeating table so that users can fill in a daily attendace record.  There is another repeating table below it for personal time off.  At the bottom of the form I have an expression box to sum up the total hours from the two tables.  The calculations are working correctly but I need to make sure the total equals 37.5 hours when they hit the submit button.  If it is less than, a message should come up telling the person they are short and the form will not be allowed to submit.&lt;br /&gt;&lt;br /&gt;If it does equal 37.5 or more, it should submit without any messages or further interaction from the user.&lt;br /&gt;&lt;br /&gt;sum(my:timeEntries/my:timeEntry/my:totalHours) + sum(my:group3/my:group4/my:LeaveTotalHours)&lt;br /&gt;&lt;br /&gt;&lt;img src='http://www.dot.il.gov/expression.jpg' border='0' /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thank you!&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>