This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

text field languages
#1

hi steven,

i need to allow other language name in the text field(username) while user adding comment.

Currently it shows "The name can only contain letters, numbers and ' & . -".

What should i do ?
Reply
#2


Have you completed the interview?
Reply
#3

Hi Steven.

THank you so much for your reply.

I edited the code to include "malayalam" language: from kerala, india

changed the code as below:

if (preg_match('/^[\p{Malayalam}&\-\'. 0-9]+$/u', $name)) {
return true;
} else {
return false;
}
And working properly. now i can add malayalam keywords in name field.

Thank you so much
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
14-Aug-2020, 08:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)