How can i allow only letters ( English characters and arabic characters) in input text field?
Hello
Added the updated code for list
Now we need to use query selector all and we just need to assign a class to our input
Sample - https://personal-ejuytnht.outsystemscloud.com/TestApp/PATTERN?_ts=638518093155109420
ThanksTousif Khan
Hello,You can do it by adding a regex for it you can create a pattern and basis on it you can return the result.Pattern: /^[a-zA-Z\u0600-\u06FF\s]*$/I tried it with a pattern hope it will work for you.https://personal-ejuytnht.outsystemscloud.com/TestApp/PATTERN?_ts=638517788015737510ThanksTousif Khan
in my case i have input inside list so i can not get the id for this input
how can i get the id for input
Hii, Andrew Mahfouz
You can use this js solve this issue,
if( (event.charCode > 64 && event.charCode < 91) || (event.charCode > 96 && event.charCode < 123)){}else{ event.preventDefault()}
I have share OML you can check it.
Screen name - Home details and
hello
i need English characters and arabic characters
this solution for English only