makes/unmakes a certain field required
name | string | the name of an item |
value | string|number | item value (for radio buttons) |
state | boolean | to make the field required, set the parameter to "true". Otherwise, false |
myForm.setRequired(name,true);
Back to top