I created a custom field in Order channel and created an imput named custom_data[nameofmycustomfield] in my checkout form as explained in the docs here.

But I can't make it required (validation sensitive). When I put his name as parameter 'required' 's value it doesn't work.

How can I do?

Thanks in advance.


1 Answer 1


(I'm with Vector, the people behind CartThrob)

The fix for this is to set


as the field name in the required parameter, not just nameofmycustomfield.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.