<?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: Record time button clicked</title><link>https://www.infopathdev.com:443/forums/thread/120501.aspx</link><pubDate>Mon, 04 Mar 2019 15:23:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120501</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120501</wfw:commentRss><description>You can set a field&amp;#39;s value to the now() function to determine the time a button was clicked. You can find some very complex formula samples online for determining the difference between two date / time fields - the math on those is outside of what I can understand, and I use code / qRules to determine date diffs - but it can be done with rules, apparently. If your form is submitted to a SharePoint library, it might be simpler to use a calculated field in the library for the diff, frankly. If you use submit rules, you can have the button click first set a field&amp;#39;s value to the now() function and then run the rule to submit the form, followed by a rule to close the form.</description></item><item><title>Record time button clicked</title><link>https://www.infopathdev.com:443/forums/thread/120494.aspx</link><pubDate>Fri, 01 Mar 2019 11:06:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120494</guid><dc:creator>The Great One</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=120494</wfw:commentRss><description>Hey All, 
I have the below form created from a sharepoint site:

UserID - Generated from Windows log-on
Number of Policies - TEXTBOX
Start Time - BUTTON
Start Time - Calculated - To record time button above is clicked
Finish Time - BUTTON
Finish Time - Calculated - To record time button above is clicked and submit form
Duration - Calculated - To record duration between both clicks above

I cannot locate a way to record the time the buttons are clicked, is this possible?
Can I also submit the form after the calculation of the end time?

Thanks a mil</description></item></channel></rss>