Hi Javier,

It appears to be a dependency issue. As a workaround, adding xforms-build action for the select1 control is enough to get expected behavior.

I would like to check with previous XSLTForms releases. Can you please post the XForms source for this test case?

Thanks!

--Alain
Le 28/06/2021 20:45, Javier Diazestebaranz(UST, ES) via Xsltforms-support <[email protected]> a écrit :


Hi again,

as i told in previous emails, I have updated our xsltforms version from a very old one.

After all tests, everything works ok except one form (it doesn't work in 1.5.5 and 1.5.6 versions).

I attach a simplified form (update_error.html), I don't know if we have something wrong in the form or is an xsltforms error.

The problem (it is a bit difficult to explain) is that when you choose a value in "select1" component, it triggers the generation of some mandatory input elements (3 or 5 in the example), but the bind validations are not executed, so although these inputs are defined as required, when I push "Submit", submission is done although data is not valid. But when I add an additional parameter with 'Add' button, apart from adding an additional parameter, validations are triggered (all new inputs are marked with error) and in this case when I push "Submit", submission it isn't done.

It seems some event is missing to execute after select1 component is modified and the actions of 'xforms-value-changed' event are executed.

Best Regards,
Javier
_______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to