You are here

function dynamic_background_upload_form_validate in Dynamic Background 7.2

Same name and namespace in other branches
  1. 6 includes/upload.form.inc \dynamic_background_upload_form_validate()
  2. 7 includes/upload.form.inc \dynamic_background_upload_form_validate()

Validation of the background_upload_form element. It have to return the $form.

1 string reference to 'dynamic_background_upload_form_validate'
dynamic_background_element_info in includes/upload.form.inc
Implements hook_elements().

File

includes/upload.form.inc, line 128
The functions here is used to create an new form element (background_upload_form), which can be used to upload images. It also gives the possibility to flag a image for deletion or active background image.

Code

function dynamic_background_upload_form_validate($element, &$form_state) {
  return $element;
}