Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Validation configuration question

edited August 2013 in Apps

I noticed that in / forms / add.pp (edit.php etc.) change not empty = 1 to not empty = 0 has no effect and you have to comment or delete it to disable the validation.

Is this by design?

Comments

  • For some of the validation rules, the left side contains the whole expression, but the right side still needs something there for it to be valid INI format. In this case not empty is the whole expression, but an = x is needed so I just use = 1.

    The opposite of not empty = 1 would just be empty = 1 (meaning the field must be empty, which can be handy for hidden fields to fool spambots... :), or just commenting it out via ;not empty = 1 with a semicolon.

  • I get it. Thank you.

Sign In or Register to comment.