Jump to content
  • 0

Search form, require at least one field to be filled in



I'm sure this has been asked and answered before, but a search didn't turn up anything. I'm doing a submission datapage to search our membership table for a member or group of members by various criteria. I guess by default, if you leave all the search criteria blank and submit, you get the entire membership listed. We don't want people to be able to do that. How do I require that at least one of the eight criteria be filled in?

EDIT: Just to be clear, I know I can require a particular field to filled in, but I don't want to require any particular field, just at least one field.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...