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