#475: form_validator.js, add logic comparison in 'IF' statement