Re: [Xsltforms-support] Event update error with last xsltforms version
Brought to you by:
alain-couthures
|
From: Alain C. <ala...@ag...> - 2021-06-29 15:43:07
|
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Hi Javier,
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
It appears to be a dependency issue. As a workaround, adding xforms-build action for the select1 control is enough to get expected behavior.
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
I would like to check with previous XSLTForms releases. Can you please post the XForms source for this test case?
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
Thanks!
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
--Alain
</div>
<blockquote type="cite">
<div>
Le 28/06/2021 20:45, Javier Diazestebaranz(UST, ES) via Xsltforms-support <xsl...@li...> a écrit :
</div>
<div>
<br>
</div>
<div>
<br>
</div>Hi again,
<br>
<br>as i told in previous emails, I have updated our xsltforms version from a very old one.
<br>
<br>After all tests, everything works ok except one form (it doesn't work in 1.5.5 and 1.5.6 versions).
<br>
<br>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.
<br>
<br>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.
<br>
<br>It seems some event is missing to execute after select1 component is modified and the actions of 'xforms-value-changed' event are executed.
<br>
<br>Best Regards,
<br>Javier
<br>_______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support
</blockquote>
</body>
</html>
|