Re: Need help for personalise

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

nishma_kp
Tourist
11 0 6

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

Replies 7 (7)

Zworthkey
Shopify Partner
5581 642 1577

@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.

Zworthkey
Shopify Partner
5581 642 1577

@nishma_kp 

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

nishma_kp
Tourist
11 0 6

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

Zworthkey
Shopify Partner
5581 642 1577
<input type="text" id="ContactForm-name" name="contact[name]" value="" required="">

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

nishma_kp
Tourist
11 0 6
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?
Zworthkey
Shopify Partner
5581 642 1577

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