Friday, 15 July 2011

DD-MM-YYYY date format possible for input in orbeon? -


I use the Orbeon form and I have calendar input.

When I select a date, I show the date in American format: MM / DD / YYYY for example, I have 1/27/2015!

How can the date in the input URI format DD / MM / YYY show? Like the 27/01/2015

I have tried without success:

   ... ... & lt; Fr: view & gt; ... & lt; Xf: input id = "startOfWork-control" bind = "startOfWork-bind" class = "" date = "[d] / [m] / [y]" & gt; & Lt; Xf: label ref = "$ form-processing / startof / labels" /> & Lt; Xf: signal riff = "$ form-processing / startof / hint" /> & Lt; Xf: warning ref = "$ fr-resources / detail / labels / alert" /> & Lt; / XF: Input & gt; ... & lt; / Fr: view & gt; ...  

You can set oxf.xforms.format. Input.date property as [D] / [M] / [Y] , as:

    

And you can find more in other supported values.


No comments:

Post a Comment