Add search text field validation