...
Code Block | ||
---|---|---|
| ||
<?php ... $rules = array( 'last_name' => array( 'format' => array( 'rule' => array("minLength", "3"), 'message' => "Your last name must be at least 3 characters in length." ) ) ); ... ?> |
...
Code Block | ||
---|---|---|
| ||
<?php ... $rules = array( 'last_name' => array( 'format' => array( 'rule' => array("maxLength", "32"), 'message' => "Your last name must not exceed 32 characters in length." ) ) ); ... ?> |
...
Code Block | ||
---|---|---|
| ||
<?php ... $rules = array( 'last_name' => array( 'format' => array( 'rule' => array("betweenLength", "3", "32"), 'message' => "Your last name must be between 3 and 32 characters in length." ) ) ); ... ?> |
...