Requirements from Art. 7 GDPR
An effective consent under the GDPR must meet four criteria: it must be voluntary, informed, unambiguous and for a specific purpose. Art. 7 GDPR specifies these requirements — and this is exactly where many forms used in practice fail. A pre-ticked checkbox does not meet the criterion of unambiguity. A blanket "I consent to everything" clause violates the purpose limitation.
In practice this means: separate the consents per processing purpose and describe each purpose in a way that a person with little technical understanding can comprehend. Link to a detailed privacy policy and ensure that all fields are empty when the form is loaded. Additionally document that the consenting person actively clicked the options — this is later the decisive evidence in case of dispute. Do not forget the reference to the right of withdrawal: without this information, the consent is not effective.