validates

infix fun Form.validates(value: String): Input

Infix fun syntax shorthand for validateWith.