ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to check that a form has AT LEAST one field filled in

August 22, 2012 12:22pm

Subscribe [2]
  • #1 / Aug 22, 2012 12:22pm

    Evolve Websites

    110 posts

    Hi there,

    I’m in the final stages of building a site and have one key task left: To setup some form validation that stops users being able to submit a blank search on the following form: http://247896-7.temp-dns.com/search/detailed-search

    I’m using Super Search (SS Version 2.0.4, EE Version 2.5.2) and would have thought that this add-on has an option to simply not allow an empty search. Unfortunately I’ve been unable to find this in the documentation.

    If anyone knows if this option exists, or any other ideas on how I may do this will be massively appreciated.

    Thanks in advance,

    Tom

  • #2 / Aug 22, 2012 3:47pm

    e-man

    1816 posts

    I see you already have jquery and the jquery validate plugin loaded, why not simply use that?
    Lots of suggestions for solutions can be found here

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases