[Xsltforms-support] Event update error with last xsltforms version
Brought to you by:
alain-couthures
From: Javier Diazestebaranz(UST,ES) <Jav...@us...> - 2021-06-28 18:46:07
|
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 |