function dynamic_background_upload_form_validate in Dynamic Background 6
Same name and namespace in other branches
- 7.2 includes/upload.form.inc \dynamic_background_upload_form_validate()
- 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_elements in includes/
upload.form.inc - Implementation of hook_elements().
File
- includes/
upload.form.inc, line 111 - 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 $form;
}