function geolocation_proximity_views_handler_field_distance::exposed_validate in Geolocation Proximity 7.2
Validate the exposed handler form
Overrides views_handler::exposed_validate
File
- handlers/
geolocation_proximity_views_handler_field_distance.inc, line 171 - Definition of geolocation_proximity_views_handler_field_distance.
Class
- geolocation_proximity_views_handler_field_distance
- Distance field handler for views.
Code
function exposed_validate(&$form, &$form_state) {
if (!$this
->can_expose()) {
return;
}
$field_id = $this->geolocation_proximity_field_id;
$this
->latlng_validate($form[$this->field_alias], $form_state['values'][$this->field_alias]);
}