All things Shopify and commerce
Hi guys,
We are currently using the Stilleto theme on Shopify and we can't seem to find a solution to adding a birthday and mobile number field for the register page. If you can help, that would be fantastic.
Thank you.
Aaron
Hi Horlart,
Thank you for your response. No sorry that is not what I'm after. What I would like to have is a birthday field and mobile number field on the register customer page. Please see the image below as reference. It would be helpful if each field is required.
Hey Horlart,
I don't think this solves my problem. This code only adds a birthday label not a birthday field where customers can add in their birthday and mobile number which are required.
How do I make it so it is required and it shows and error if it isn't filled in?
Hi Horlaryt,
This is our store link.
I have managed to add the field but the required function does not work.
This is the current code I have:
Hey @Fed-Graphics!
I believe to get the 'required' attribute working in your form code, you would need to make sure to remove the novalidate: 'novalidate' attribute from the Liquid form:
Alternatively, if you or anyone else looking for this solution want to make a custom registration form without having to code it yourself, or a form where the data gets stored directly into Shopify's standard fields and metafields instead of just into the customer note, you could check out an app such as Helium Customer Fields.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024