I am hoping to do the same thing and using Dawn. I found where you have this code and mine just had class="text-area field__input and I just added required but it didn’t seem to work
Topic summary
Goal: Make the cart note a mandatory field before checkout in the Mr Parker 2.0 theme.
- Proposed approach: In most Shopify 2.0 themes, the cart note is a textarea with name=note, located in cart-footer.liquid or near the cart subtotals. Add the HTML required attribute to that textarea to enforce browser validation.
- Evidence: A helper referenced an example textarea with the required attribute (exact code not shown in the thread).
- Related attempt: Another user on the Dawn theme found a textarea with class text-area field__input and said they added required, but it did not work.
- Next step: The helper asked for the exact code from the non-working case to diagnose placement/markup.
Status: No confirmed solution yet; discussion is ongoing and awaiting a code sample for troubleshooting.