formInput.getRequired()Retrieves the required status of a form input.
This method is applicable to the following form input types:
FormCheckboxInputFormFileUploadWrapperFormRadioInputFormSelectFormTextareaFormTextInputPromise<boolean>: Boolean - A promise that resolves to the required status of the form input.