Built with from Grav and Hugo
function unrequireElement(elementid) { return $("#" + elementid).disableValidation(); }
You have to make the form control required in order to be able to disableValidation dynamically
required