Prevent submitting empty form

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 19, 2014   (RSS)

By jsammann - August 13, 2014

I have searched the forums but am not able to find what I believe to be a simple task. I have created a basic search form that looks for 3 fields; last name, item number and zip code. It works great until you just hit submit without entering anything into the fields, it then returns everything in the database. Is there a way to prevent this? I'm sure there is I just don't seem to know what to search for. Thanks in advance.