function imagepicker_edit_form_validate in Image Picker 6.2
Same name and namespace in other branches
- 7 imagepicker.edit.inc \imagepicker_edit_form_validate()
File
- ./
imagepicker.edit.inc, line 91 - Contains the functions pertaining to editing image information
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."));
}
}