Date formatting problem - InfoPath Dev
in

InfoPath Dev

Date formatting problem

Last post 02-19-2013 01:16 AM by NorrieF. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-18-2013 08:40 AM

    Date formatting problem

    Hi I'm new to InfoPath and hoping I might find help here.  I have a form connecting to a SharePoint list.  I have a Date Field called Collection Date which is set to Date only in SharePoint.  I was trying to get the Date Picker control in InfoPath to default to yesterday.  When I use addDays(today(), -1), I get the red dotted lines around the field if I try to submit the form.  I also tried to concatenate T00:00:00+00 onto the date   concat(addDays(today(), -1),"T00:00:00+00)  but no joy with that either.  I'd really appreciate some help with this.  Thanks.

  • 02-18-2013 05:05 PM In reply to

    Re: Date formatting problem

    Just right click the date picker control in the view and change formatting to date.
    Patrick Halstead
    Project Manager at Qdabra
  • 02-19-2013 01:16 AM In reply to

    Re: Date formatting problem

    Hi Patrick,

    Thanks a lot for your response.  The date picker is already formatting as a date.

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