Based on this:
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-xforms#TOC-For-xforms:input-Only two formats are supported for input at the moment: [M]/[D]/[Y]
and [D]/[M]/[Y].
Unfortunately these two patterns are not handled in a generic way, but
special-cased, as you can see here in the JavaScript:
https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/ops/javascript/xforms.js#L810The JavaScript code would have to be changed to support other formats.
-Erik
On Wed, May 18, 2011 at 4:49 AM, aitor <
[hidden email]> wrote:
> In the standard date field. When I change the date format property to
> YYYY/MM/DD and select a date in the standar date field, it's giving me a
> validating error in the form runner:
> <property as="xs:string" name="oxf.xforms.format.input.date"
> value="[Y]/[M]/[D]"/>
> Could anyone help me to validate this date format. Do I have to change any
> more property?
> Thanks
>
> --
> View this message in context:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-Runner-Date-format-error-tp3532389p3532389.html> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the
[hidden email] mailing list.
> To unsubscribe: mailto:
[hidden email]
> For general help: mailto:
[hidden email]?subject=help
> OW2 mailing lists service home page:
http://www.ow2.org/wws>
>
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws