General Data Protection Regulation (GDPR) is a regulation by the EU that gives individuals control over their data. There are many ways to make a contact form GDRP-compliant, like collecting only needed data and obtaining explicit consent from users before collecting their data with measures such as acceptance checkboxes.