Shopify themes, liquid, logos, and UX
I have made some baby name plaques for my site and they come in different variants, number of letters, character they want, colour scheme. I have added a text box to enable the customer to input the their child's name. Now this can leave me open, as someone can click on 1-4 Letters and input a name that's 8 Letters long yet still pay for 1-4. Is there a way I can limit the amount of letters they use for that particular selection, so that the maximum they can input for 1-4 letters is 4 letters and the maximum they can input for 5-6 letters is 6 letters and so on?
Solved! Go to the solution
This is an accepted solution.
sorry each variant different text limitation its not possible all are some or some some variant you have fixed not a dynamic
sorry for this issue
can you please try this was
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_maxlength
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_textarea_maxlength
.
Thanks for your reply. I'm unsure how I would go about implementing the code for each variation. I ideally want something so that when a customer clicks on 1-4 letters then the maximum they can type is 4 letters and if the customer chooses 5-6 letters then the maximum amount they can input is 6 letters and so on. Ideally I'd like to have one text box that would link to each of the options so that when a certain option is selected then the customer can't go over that amount. I have a very limited knowledge of coding, but at this time I can't afford a monthly subscription for an app and I also want to try and learn how to do this stuff without the reliance of an app.
This is an accepted solution.
sorry each variant different text limitation its not possible all are some or some some variant you have fixed not a dynamic
Thanks again, it's OK I couldn't figure it out so I used an app and that's sorted it
great, Thanks for update and support
User | RANK |
---|---|
130 | |
91 | |
77 | |
60 | |
55 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022