validating condition search

add validation on search condition add form