function imagepicker_edit_form_validate in Image Picker 7
Same name and namespace in other branches
- 6.2 imagepicker.edit.inc \imagepicker_edit_form_validate()
File
- ./
imagepicker.edit.inc, line 98 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function imagepicker_edit_form_validate($form, &$form_state) {
if (drupal_strlen($form_state['values']['description']) > 254) {
form_set_error('description', t("Description is too long, max. 254 characters."));
}
}