Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Adding required to a text area does not work
<textarea type="text" rows="20" cols="40" id="custom_input_large" name="properties[{{ current_variant.title }}]" form="{{ product_form_id }}" required> </textarea>
But the same with an input text if it works
<input name="properties[{{ current_variant.title }}]" form="{{ product_form_id }}" required>
Solved! Go to the solution
This is an accepted solution.
Hello @FedeMedina ,
There is a empty space inside the textarea, remove it.
<textarea type="text" rows="20" cols="40" id="custom_input_large" name="properties[{{ current_variant.title }}]" form="{{ product_form_id }}" required></textarea>
This is an accepted solution.
Hello @FedeMedina ,
There is a empty space inside the textarea, remove it.
<textarea type="text" rows="20" cols="40" id="custom_input_large" name="properties[{{ current_variant.title }}]" form="{{ product_form_id }}" required></textarea>
ily ❤️
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025