EDIT
I misunderstood at first. I understand how to add custom attributes to form elements. What I need help with is the JS code, and how to pass it to a field in the form and hide the field so users won’t see it. Thanks again!
EDIT
I misunderstood at first. I understand how to add custom attributes to form elements. What I need help with is the JS code, and how to pass it to a field in the form and hide the field so users won’t see it. Thanks again!