Hi, I am using the Dawn theme. I would like to make the checkbox mandatory for the register form, i have enjoyed modifying the code. here is the full code as it comes:
{{ ‘customer.css’ | asset_url | stylesheet_tag }}
{{ 'customer.register.title' | t }}
{%- form 'create_customer', novalidate: 'novalidate' -%} {%- if form.errors -%}{{ 'templates.contact.form.error_heading' | t }}
-
{%- for field in form.errors -%}
- {%- if field == 'form' -%} {{ form.errors.messages[field] }} {%- else -%} {{ form.errors.translated_fields[field] | capitalize }} {{ form.errors.messages[field] }} {%- endif -%} {%- endfor -%}
Dichiaro di aver preso visione dei Termini e condizioni del servizio.
Dichiaro di aver preso visione dell' Informativa Privacy.
Acconsento al trattamento dei miei dati personali per ricevere informazioni promozionali e rimanere sempre aggiornato sulle offerte e sulle novità cosi come previsto dall' Informativa Privacy.
Can someone help me please?
