How can I fix contact form errors and add required fields?

How can I fix contact form errors and add required fields?

SomeUser777
New Member
6 0 0

I want to make a Contact page so that the user can contact me.

But when the user doesn't enter anything, the Email validation styles don't work correctly.

SomeUser777_0-1704574181543.png

Also how can I add required fields for Name and Comment?

I understand that this needs to be done in the contact-form.liquid file, but what exactly should I change because this code syntax is not familiar to me (

Replies 0 (0)