1
gooloomoo
Check if user enter at least 1 keyword in modules\profile\search
  • 2011/2/3 22:02

  • gooloomoo

  • Not too shy to talk

  • Posts: 110

  • Since: 2006/6/27


Hello

Is there any way to add a check to the profile search fields, and not allow a empty search.

Currently, if we leave the search fields of modules\profile as blank, the search result will return all of the users.

I mean users should at least enter one keyword in any one of those search fields, otherwise, it will popup a msg"Please enter keywords"( just like the default content search).


Thanks.