Welcome Guest, Not a member yet? Register   Sign In
validation problem
#1

[eluser]Skuja[/eluser]
Good morning every one!

I have following form input line:
Code:
<td colspan="2">Valodas kods &lt;input name="code" type="text" value="&lt;?=$this-&gt;validation->code;?&gt;" maxlength="2"></td>
my validation rules for this input:
Code:
$rules['code'] = "trim|max_length[2]|xss_clean";
The problem is that it all works fine (ie. the validation passes) with latin symbols, but when I type in non latin simbols e.g. ลกลก I get following error:
Quote:The language code field can not exceed 2 characters in length.
Can someone help to make validation rule for none latin symbols ?


Messages In This Thread
validation problem - by El Forum - 02-01-2008, 02:01 AM
validation problem - by El Forum - 12-14-2008, 03:28 AM
validation problem - by El Forum - 12-14-2008, 03:28 PM
validation problem - by El Forum - 12-14-2008, 07:10 PM
validation problem - by El Forum - 12-15-2008, 06:49 AM
validation problem - by El Forum - 12-15-2008, 02:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB