We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Making line item fields required in Dawn 3

Making line item fields required in Dawn 3

Almoptaker
Tourist
5 0 3

Hello there,

I am trying to add line item fields to my product page to let my customers enter text and select an option from a dropdown menu. The problem is that I am not able to make these fields required neither when they are inside the form tags, nor when outside. Any help would be appreciated! I am using the latest version of Dawn theme.

Replies 2 (2)

Zworthkey
Shopify Partner
5581 641 1583

Almoptaker
Tourist
5 0 3

I managed to fix that issue. I just removed the 

novalidate: 'novalidate'

from the 

{% form 'product', product, class:form_classes, novalidate: 'novalidate' %}

and it solved the problem