#Abby_jordan
1 messages · Page 1 of 1 (latest)
hey there, can you share more details about what kind of validation you're trying to add?
Like I have to add required fields and custom validation such as name cannot have number and special characters and similar validations for the all address fields
What fields are you trying to collect and how? You generally don't have access to the details entered in Stripe.js elements in order to validate, and instead are able to inspect the output from Stripe's validation in the change events:
https://stripe.com/docs/js/element/events/on_change?type=cardElement#element_on_change-handler
eg, looking at complete and error