Exposed Form Style Option in Views: Basic vs Input Required

Опубликовано: 30 Май 2024
на канале: WebWash
121
8

You can control how exposed filters work in Views by using the "Exposed Form Style".

You can choose between "Basic" and "Input Required."

But what is the difference?

The "Basic" setting shows all content by default. You can filter by entering text and clicking on "Apply."

The "Input Required" setting forces visitors to select something in the exposed filter before seeing any results.

Here's how to switch to "Input Required":
↳ 1️⃣ Go to "Structure" and "Views."
↳ 2️⃣ Edit your view and click on "Advanced."
↳ 3️⃣ Scroll down and click on "Basic" next to "Exposed form style".
↳ 4️⃣ Switch to "Input required" and click on "Apply".
↳ 5️⃣ Click on "Apply" again and save your view.

Now, your view will require visitors to enter text to see content, and they will see "Select any filter to click on Apply to see results".

#drupal #drupalviews

Subscribe to our newsletter for updates: https://www.webwash.net/newsletter

Connect with us:
https://www.webwash.net/
   / webwashnet  
  / webwashnet  
  / webwashnet  
  / webwashnet  
  / webwash  
  / webwash  


Смотрите видео Exposed Form Style Option in Views: Basic vs Input Required онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь WebWash 30 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 121 раз и оно понравилось 8 людям.