Emil,
On Tue, Nov 3, 2009 at 3:22 AM, Emil <emil.hornung@comarch.pl> wrote:
> Sorry, for my previous reply. It looks like I misunderstood you. Solution I
> prefer is to use xs:date type and to add ability to input YYYY-MM-DD format.
> So, I would be grateful if you could help me how to achieve this.
I think what follows should do the trick:
- Instead of: <xforms:bind type="xs:date">
- Write: <xforms:bind constraint=". castable as xs:date">
This way you will check that the user entered a date, but you won't
tell the XForms that the node is of type date, so it won't change its
"appearance" to have a date picker.
Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog:
http://www.orbeon.com/blog/My Twitter:
http://twitter.com/avernet--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws