adds a validation rule to the input with the specified name
| name | string | the name of an item |
| value | string | the value of a radio button |
| rule | string | a validation rule (possible validation rules are described in the related article) |
myForm.setValidation(name, "ValidInteger");