function dfp_targeting_form_validate in Doubleclick for Publishers (DFP) 7
Same name and namespace in other branches
- 7.2 dfp.admin.inc \dfp_targeting_form_validate()
Validation function used by the targeting form.
1 string reference to 'dfp_targeting_form_validate'
- _dfp_targeting_form in ./
dfp.admin.inc - Helper form builder for the targeting form.
File
- ./
dfp.admin.inc, line 314 - Admin forms and functinality for DFP ads.
Code
function dfp_targeting_form_validate(&$element, &$form_state) {
if ($form_state['triggering_element']['#value'] != t('Add another target')) {
dfp_targeting_trim($form_state['values']);
}
}