Login  Register

Revalidation of date type fields

Posted by Robin Diederen on Jan 08, 2010; 3:10pm
URL: https://discuss.orbeon.com/Revalidation-of-date-type-fields-tp1009738.html

Revalidation of date type fields

Hello all,

 

On several forms, we use input fields typed as xs:date. The standard validation for these fields works fine: we type or select a date (from the datepicker) and we change the focus to another field. As soon as the field looses focus, the validation kicks in and does its thing.

 

However, in case the value typed in the date field cannot be validated as a valid date, the field is changed (or just displayed) into an untyped input field. Even when we put a valid date there; the only resolutions seems to be to reload the form.

 

We're looking for a solution to have this field revalidated; in case there's a date in that field, we'd like to have it displayed as a regular date field after all. Can this be done easily?

 

Orbeon version: 3.71 (developer relase)

 

Best, Robin



--
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