• Hello! When using a simple text field and someone tries to submit 0 (int) as an answer for a required field, the form will not submit. This causes issues on questions such as “How many hotdogs do you want?” and it is not a drop down menu.

    I can guess that 0 evaluates as FALSE or NULL and then the required form field gets interpreted as not being filled out.

    https://wordpress.org/plugins/custom-contact-forms/

The topic ‘Evaluation of 0’ is closed to new replies.