Validation

Version 4.1 by Achraf El Kari on 2022/10/18 15:32

Setting a validation to a form is possible with an XSLT code. here is an example : 

Bellow a user's form : 

1666099299150-670.png

I want that my firstName not exceed 20 chars. All I can do is make validation on the input : 

1666099830526-443.png

First step, I create a variable to get the form value, then test on this value, here the result : 

1666099913266-344.png

It works vert well =) 

Tags:
    
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian