Regex Validation With Unicode

0

We trying to translate SMA PSM to Mongolian language and we having problem with it. I could not add UNICODE. and then I have edited validation and it started accepting unicode. But When i need to choose category unit measure etc it won't show up. because value is unicode
А-Яа-яӨҮ those should be accepted. Please help

Question Resolved For: Stock Manager Advance with Point of Sale Module 0 Votes 5 Answers 437 Views
Asked by CptSilent 2 years ago

0

Answered by Mian Saleem 2 years ago

Hello,

SMA uses utf8 encoding and alpha_dash & alpha_numeric_spaces validations for names and slugs. If you need, you can remove the validations.

For language files utf8 encoding is used and your language should be encoded in urf8 too. The only issue with language translation is to not use ' & " but use html entities ' & " instead.

Thank you

0

Answered by CptSilent 2 years ago

How can i remove encoding validation. If you need URL and or cpanel account i can provide.

0

Answered by Mian Saleem 2 years ago

Hello,

There is no option to remove encoding. By validation I mean the form validation. You can search the alpha_dash in the app/controllers/admin/ folder to know where this validation is used.

Thank you

0

Answered by Jenah Smith 1 month ago

Mian Saleem When I try to edit customer info then shows error "form validation other validation"
Help me to solve the issues
Thanks

0

Answered by Mian Saleem 1 month ago

Jenah Smith Please ask new question with details. Thanks

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.