Validation
Last modified by Achraf El Kari on 2022/10/18 15:39
Setting a validation to a form is possible with an XSLT code. here is an example :
Bellow a user's form :
I want to make validation on my firstName to not exceed 20 chars, i can do it by XSLT like this :
First step, I create a variable to get the form value, then I test on this value, here the result :
It works very well =)