Add placeholder to the search form in Views

Author: Aleš Sýkora, 26. 7. 2018

Would you like to show a placeholder text like "Search something" in the search field made with Toolset Views?

Use this jQuery code in the Search form custom JavaScript section and replace the text "Search in Toolset" with yours:

jQuery("input[name='wpv_post_search']").attr("placeholder", "Search in Toolset");

toolset search add placeholder
Did you successfully implemented your placeholder in search form? Tell me in the comments below!