2

I have a view with a Search block exposed to users. What I would like to achieve is:

I would like to display a text in the View's body itself under the Search box. This text should disappear once a user enters a term and hit 'Search".

Is this doable? I hope someone can help me out.

Thanks

4
  • Let me just clarify on that. The requirement is that you want have blank page with an instruction to search on the view page to start of with and only display result when you apply the filter is this what you are trying to chive? Jan 23, 2013 at 4:29
  • Thanks Mohammed. What I want to achieve is that: the page with the Views that has a search box will have some text below the search box that should disappear once you enter a word in the search box and hit 'Search'. So, the text will be visible on the landing page and should disappear once you hit search. Any idea?
    – user12914
    Feb 15, 2013 at 6:18
  • are you on views 6 or 7? Feb 16, 2013 at 16:21
  • I am using Drupal 7, yes.
    – user12914
    Oct 16, 2013 at 19:32

2 Answers 2

1

All you need is Custom Search module.

0
0

In Drupal 7 there is an option to do it.

There are two exposed forms. By default basic is selected. there is another option called "input required" You can select that instead of Basic. This will make the result displayed only after entering the data.

You can also input the text that should be displayed before the search is made.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.