I have textfield that takes polish IBAN. How can I check formet of given input?
You can use property called “Maska” found in textfield properties “Jakość danych”.
This field accepts a regular expression (regex). In this situation, we need to create regex that allows to insert 2 letters and 26 digits.
Example [a-zA-Z]{2}[0-9]{26}
We also need to set the validation message for the mask. The content of the validation is entered in the field called “Komunikat błędu dopasowania do maski”
Result on form:
-
proper IBAN
-
invalid IBAN
1 Like
If you want to learn more about regex or test your solution I recommend this site: https://regex101.com/
1 Like