Time field format h:mm - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Time field format h:mm Time field format h:mm Last post 04-19-2011 01:07 PM by Hilary Stoupa. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-14-2011 09:03 AM tafavorite Joined on 02-01-2011 Posts 65 Time field format h:mm Reply Contact I found this post http://www.bizsupportonline.net/infopath2003/auto-format-time-on-lostfocus.htm that explains how to let the user type in 0730 and have it format to 7:30. My question is (not sure if its possible), if the field could accept 730 and format it to 7:30. I have tried working around with the example I had but its just not working. I am really wanting to know this becuase the users I dont think will get 0730 and will enter 730 instead. So, I want to help as much as possible to make it easier for entry. 04-19-2011 01:07 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: Time field format h:mm Mark as Not AnswerMark as Answer... Reply Contact I suppose you could try putting a rule on the field and if the field is only 3 characters long, add a zero to the beginning of the string.... may be worth a try. Mind you, I haven't thought out all the possible implications of this.... Hilary Stoupa Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I found this post http://www.bizsupportonline.net/infopath2003/auto-format-time-on-lostfocus.htm that explains how to let the user type in 0730 and have it format to 7:30. My question is (not sure if its possible), if the field could accept 730 and format it to 7:30. I have tried working around with the example I had but its just not working. I am really wanting to know this becuase the users I dont think will get 0730 and will enter 730 instead. So, I want to help as much as possible to make it easier for entry.