Hello, if i have a field: varchar(10), the program let me capture 11 or more, but when i save, send me the next message :"Data too long for column…", how limit the number of characters when capture? thanks.
3 Answers
Hi,
With that specific column settings, you can set:
$col["editoptions"]["maxlength"] = "10";
editoptions array is mapped to input field attributes.
Hello Abu, there's a option for limit the number of characters in capture time??? thanks
Your Answer