Hello everyone,
I would like to “force” the customer of my website to fill all the cases of my contact page : Name, phone, email, message, except for the enterprise case.
I share with you the code of my page.contact-liquid :
{{ page.content }}
{% form ‘contact’ %}
{% if form.errors %}
{{ form.errors | default_errors }}
{% endif %}
{% if form.posted_successfully? %}
{{ 'general.contact_page.success_message' | t }}
{% else %}
{{ 'general.general.name' | t }}
Télephone
{{ 'general.general.email' | t }}
Entreprise
{{ 'general.general.message' | t }}
{{ form.comments }}
{% endif %}
{% endform %}
Thanks in advance for your help ![]()