Autocomplete User field in views display all user

mayur.pimple's picture

Hi

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.

Thanks
Mayur

Comments

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

Regards
Tajinder Singh Minhas

Better ask this in http://drupal.stackexchange.com/

D34dMan's picture

Hi, this question is much better suited in http://drupal.stackexchange.com/ 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 - https://drupal.org/forum/22
Module Development - https://drupal.org/forum/4
Theming - https://drupal.org/forum/3

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

Best
Tanay

--
Tanay Sai
Bangalore
skype: tanay.co.in

India

Group organizers

Group notifications

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

Hot content this week