When you submit the form, the value is presented with debug_dump(), so strings are quoted and array values listed.
<?php $field = new form_field_text($form, 'Name'); $field->min_length_set('Your name is required.'); $field->max_length_set('Your name cannot be longer than XXX characters.', 15); ?>