use 'required' attribute to stop empty search requests