Adding a time field - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Adding a time field

Last post 01-12-2017 07:51 AM by Jose Leandro. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-16-2009 05:46 PM

    Adding a time field


    I would like to be able to add a field to Infopath form that will give me the ability to input a time. It is not necessarily the "current" time though. If I am updating my form with info from 7:00 AM yesterday morning, I would like to put that particular time in. Is there a control for that? If not, does anyone have any suggestions?



  • 05-17-2009 10:55 PM In reply to

    • Anuma
    • Top 25 Contributor
    • Joined on 07-20-2005
    • India
    • Posts 525


    You can use following formula for a text box.

    substring-after(now(), "T")

    if you want to save that time only when that form is opened for the first time. then add rule to that field that

    Condition is: When field is blank.

    Rule: Field = substring-after(now(), "T")

    Anuma Chinthapalli /
  • 01-12-2017 07:51 AM In reply to

    Is there a way to create a field using a substring which displays time entered by a user but without a default time?
    José Leandro
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.