locked
How can I post 12:00 in InfoPath and have it default to 12:00 PM? RRS feed

  • Question

  • I have and InfoPath 2007 form that has a text field, bound to a Time field, with format set to "9:46 AM".

    If a user enters ''0:00' or '0:59' in the form, InfoPath automatically (and correctly) converts these values to '12:00 AM' ,'12:59 AM'

    If a user enters '13', InfoPath correctly converts this to '1:00 PM'.

    And if a user enters '0' or '12 AM', InfoPath correctly converts these to '12:00 AM' .

    Howerver if a users enters '12', '12:30', InfoPath then converts these to '12:00 AM' and '12:30 AM' respectively.   Our users are forced to  enter '12 PM' or "12:30 PM', for InfoPath to render the correct time.

    This becomes a problem, since our users expect values between '12:00' to '12:59' to mean '12:00 PM' to '12:50PM'.

    Does anyone have a solution for this?

    NOTE: I'm working on InfoPath 2007, but this behaviour is the same in InfoPath 2010.

    Thx.

    Thursday, March 31, 2011 4:56 PM

Answers

All replies