date format in yforms

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

date format in yforms

balajim
Hi Team,

I have a requirement like change the date format from 10/17/2018 to 10.17
.2018.

can anyone knows let me know the solution ?

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: date format in yforms

Alessandro  Vernet
Administrator
Hi Balaji,

You can do so by setting the following property:

<property
    as="xs:string"
    name="oxf.xforms.format.input.date"
    value="[D].[M].[Y]"/>

For more on this, see:
https://doc.orbeon.com/configuration/properties/xforms#for-xf-input

You'll let me know if this works for you,

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: date format in yforms

Alessandro  Vernet
Administrator
Balaji, did you get a chance to test setting `oxf.xforms.format.input.date`
as mentioned in my previous message? If so, did it work for you? -Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet