Welcome Guest, Not a member yet? Register   Sign In
Validation 'alpha' problem
#1

Hi. I am using form_validation at one input. I set the rule alpha. But also this blocks Turkish characters at this input. What should i do? Form validation thinks the Turkish characters are not alphabetical.

Thanks.  Blush
Reply
#2

I think you have no other choice but to validate your string with a regex. You can use the regex_match rule, or even better, create a custom rule

PS: Those links are for CI4.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
Reply
#3

(08-02-2019, 11:19 AM)includebeer Wrote: I think you have no other choice but to validate your string with a regex. You can use the regex_match rule, or even better, create a custom rule

PS: Those links are for CI4.

Thanks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB