Examples from "Form Optional / Required" section of the form reference: form.required - a schema-optional field is *displayed* as required when form.required=true

Standard optional field with maybenull=true
Optional field with form.required=true and form.maybenull=true, is displayed and can not be submitted empty also disabling html5