Remove Validation for the User: Name filter
vivianspencer - June 23, 2009 - 23:34
| Project: | Views |
| Version: | 6.x-2.6 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Is there any way to remove, skip or override the validation check on the User: Name filter for views.
I can see where the function is being called in views_handler_filter_user_name.inc and the only way I can think to do it (without hacking the module) is to use hook_form_alter and remove the call to 'views_exposed_form_validate' and thencreate my own validation function, but this may just cause other problems.

#1
thats not the only way :)
you can use hook_views_data_alter and change the handler of the filter to change the behavior of the validation