setRequired

Set whether this form is required