Why aren't required fields functioning on Dawn 8.0?

Why aren't required fields functioning on Dawn 8.0?

cmartinez006
Tourist
6 0 2

I am working with Dawn 8.0. I want users to be required to fill out the input

 

<p class="line-item-property__field">
  <label for="your-name">Your name</label>
  <input required class="required" id="your-name" type="text" name="properties[Your name]">
</p>

 

I read trough other post and it said to delete "novalidate", but that dose not seem to show up in any my code. 

Replies 3 (3)

cmartinez006
Tourist
6 0 2

Okay So I Figured it out!

Navigate to buy-buttons.liquid -> Delete Line 35-> Under Line 45  Insert your required Input

cmartinez006_0-1677715724559.png

 

 

sgthoskins
Visitor
1 0 0

Thank you @cmartinez006 !!!!!!

GemPages
Shopify Partner
5625 1262 1279

Hello @cmartinez006 ,

 

You use wrong code.

True code it 

<p class="line-item-property__field">
  <label for="your-name">Your name</label>
  <input required="required" class="required" id="your-name" type="text" name="properties[Your name]">
</p>

GemPages_0-1677720904046.png

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center