Hi there,
I have a page with a schema validation setup. The setup works when the 'oxf.xforms.noscript' property is set to true. However when I change the property to false the validation doesn't seems to work anymore. Looks like 'xxforms-invalid' and 'xxforms-invalid' events are not fired/handled correctly. However, could be something entirely different of course as well.
Attached you'll find a page called test.xhtml(
test.xhtml) and an xsd called test.xsd(
test.xsd). When you run page with the 'oxf.xforms.noscript' property is set to true, you'll first see a link labelled 'invalid-form-case'. Then when you enter 3-letters in the input-field and press the button labelled 'Button x', you'll see a link labelled 'valid-form-case'. The test.xsd associated with to input-field requires input of 3 letters in order to be valid.
When you run page with the 'oxf.xforms.noscript' property is set to false, you'll see both links, 'invalid-form-case' and 'valid-form-case', on the page. When entering 3-letters in the input-field and pressing the button, labelled 'Button x', nothing changes. I expected the page to behave like described with 'oxf.xforms.noscript' property is set to true in this situation as well.
Does any-one know what could be the problem.
Thanks and kind regards,
Henk