Cannot find "novalidate" in order to remove this line of code on refresh theme

Cannot find "novalidate" in order to remove this line of code on refresh theme

justinitialsuk
Visitor
1 0 0

Cannot find novalidate in order to remove this line of code on refresh theme? Can anybody help?

Replies 2 (2)

c1ashley
Visitor
2 0 0

Same problem here, and Shopify cannot assist. I find novalidate="novalidate" in inspection mode, but cannot delete it in edit mode.

Vyk
Shopify Partner
14 0 5

In some themes You won't be able to find 'novalidate'. I came around this issue using this code (custom text field) 

<div class="contact__fields">
 <div class="field">
  <input required class="field__input" type="text" id="message" name="properties[Fieldname]" value="{% if form.name %}{{ form.name }}{% elsif customer %}{{ customer.name }}{% endif %}" form="product-form-{{ section.id }}" placeholder="infoinfield">
    <label class="field__label" for="Fieldname">Fieldnamewhichshows</label>
</div> <br>

  The if part of the fields does the validation