Make sure user entered time portion of DateTime field - InfoPath Dev
in

InfoPath Dev

Make sure user entered time portion of DateTime field

Last post 11-18-2010 09:58 AM by christian_bahnsen. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 11-18-2010 09:58 AM

    Make sure user entered time portion of DateTime field

    I'm using InfoPath 2007.  How can I ensure a user enters the time portion of a DateTime field?  The Date Picker will fill in the date portion, but users are skipping the time portion.

    It doesn't look like I can build an input mask, per se.  My thought was to try to use XQuery; something like

    if hours-from-dateTime(myDateTimeField) = 0 and if minutes-from-dateTime(myDateTimeField) = 0 then ...

    but InfoPath tells me that "'hours-from-dateTime' is not a valid XSLT or XPath function". 

    Thanks in advance for any help.

    Christian Bahnsen

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.