#475: form_validator.js, add 'textOnly' method