Autocomplete User field in views display all user

mayur.pimple's picture


I have added Autocomplete user field in exposed filter in views.

I want block user is not display in Autocomplete user field.
Now All user is display in user field.
How to set condition in Autocomplete user field.



Check views settings.

mehuls's picture

Check views filter settings.
There will be option in settings to hide the blocked users.

You can associate a view to

tajinder.minhas's picture

You can associate a view to this field and then create a view to in which you can filter user in filters.

How to associate views with a field :

1) Got to field setting of User reference field
2) Below field setting you will see "View to Refer"
3) There you can use view you want to use.

View: -
1) Create view of user type
2) Choose Username and User Id in fields
3) Choose filter User status = Yes

Follow these steps and you are good to go

Tajinder Singh Minhas

Better ask this in

D34dMan's picture

Hi, this question is much better suited in where it is exposed to a much larger user base. Since this topic has nothing to do with Pune and Drupal, i would recommend to discourage this practice.

+1 on what Shibin Das

saitanay's picture

+1 on what Shibin Das said.

There is a Drupal Forum meant for technical queries.

Site Building -
Module Development -
Theming -

Post technical queries on forums mentioned above rather than on groups here.

Restrict usage of India regional groups to appropriate community activity, meetups, job postings, polls etc


Tanay Sai


Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: