Limit IBAN validation to one country
-
Hi there,
I hope you are doing well!
I am using the following code for IBAN validation in my mu-plugins:
https://gist.github.com/wpmudev-sls/8ca771c9cde2f583b20280b23291e9cc
- However, I would like to limit the allowed IBAN-numbers to German IBAN-numbers only and show an error message as soons as an IBAN of another country is entered. Is there any way I could do this?
- Further, currently the “Please enter a valid IBAN-number” only appears after submission – is it possible (like in the e-mail field) that there occurs an instant error message?
Thank you very much in advance and kind regards
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Limit IBAN validation to one country’ is closed to new replies.