Ambition.Form.Validator.max_length – ambition Reference Manual
Packages
ambition
Ambition
Form
Validator
is_numeric
max_length
min_length
Validator
max_length
Description:
public
static
bool
max_length
(
string
value,
int
max_length)
Return true if value's length is less than or equal to max_length.
Parameters:
value
String field value
max_length
Max length of field
Returns:
boolean