Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Regarding the search box .. View modes: 
User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/14/2011 11:20:22 PM
   
Regarding the search box ..
Hi all..

I have implemented the search functionality in my website, what I want to know is if user click on the go button without entering the search text, then it should give javascript message that please enter search criteria. How to achieve this.. please guide me..

Thanks
Sansugoi

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/15/2011 7:32:53 AM
   
RE:Regarding the search box ..
Hello,

You can alter the search web part you are using to check for the input text. If the input text is an empty string, you can display an error message. For more information on web part modification please check this documentation.

Best regards,
Boris Pocatko