Required Survey Field

Has anyone used custom form data to require a patron to acknowledge something, otherwise preventing checkout?

I see the documentation alludes to required form fields but we haven't taken the plunge. We are considering requiring patrons to acknowledge/agree to COVID policy before completing a purchase. Wondering if anyone else has done or doing this with success.