Making line item fields required in Dawn 3

Making line item fields required in Dawn 3

Almoptaker
Tourist
5 0 2

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 1581

Almoptaker
Tourist
5 0 2

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