Problems with data formatting - InfoPath Dev
in

InfoPath Dev

Problems with data formatting

Last post 10-27-2014 02:05 PM by cimerio. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-03-2014 09:02 AM

    Problems with data formatting

    Hi, my problem is:

    I create a form, with a field Date - today().

    It returns, for example, in form 10/03/2014

    but, when save, in xml file, appears: 2014-10-03

    i need format dd/mm/yyyy . our system don't accept other.

     

    infopath 2010

  • 10-07-2014 02:42 AM In reply to

    Re: Problems with data formatting

    Hi cimerio,

    Is it possible for you to use a hidden field instead, with a substring formula to format the date as dd/mm/yyyy? In order to get the desired format, I would suggest setting the hidden field's default value or formula similar to this:

    concat(substring(DateField, 6, 2), "/", substring(DateField, 9, 2), "/", substring(DateField, 1, 4))

    Where DateField is the date picker. Hope this helps.

    Don Stephen Lambatin / Support Engineer
    Qdabra Software
  • 10-27-2014 02:05 PM In reply to

    Re: Problems with data formatting

     hi, don. glad for your answer.

     

    i set the fied with the formula, but show the error:

     

    Expect value type: ,

    Real value: number

    concat(substring(date, 6. -->2<--), "/", substring(date, 9. 2), "/", substring(date, 1. 4))


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