How can I make a dropdown box a required field on a products page?

Hi, please help:

  1. I am creating personalised options on the ‘products’ page and have 2 options for customers to fill out: Choose your font and Personalised name. With both options, there is no physical black box that has appeared although I have correctly coded, so what do i need to do to get the black box to appear?

  2. With ‘choose your font’, I have coded so that it is a select drop down box but how do I get this to be a required field?

Thanks in advance

1 Like

@nishma_kp
Welcome to the Shopify community!
Thanks for your good question.

Please share your store URL.
So that I will check and let you know the exact solution here.

Thank you

https://etched-ae.myshopify.com/admin/themes/122144358451/editor?previewPath=%2Fproducts%2Fwater-bottle-350ml-blush-pink

1 Like

@nishma_kp

Your Store Is password protected.
Kindly Share your Store front Password.

Please could you try again I have removed the password now.


@nishma_kp
try out required as I shown into the Above code to your Code.

It doesn’t seem to work. It creates a separate box but doesn’t make the field required. Are you able to see my code? or can you not see this? I am wondering whether something is missing from my code.

Also, how do i get the box to appear?

@nishma_kp
Hire, Some one to fix out your Issues,