#dhruvs
1 messages · Page 1 of 1 (latest)
You'd use the change event, and look at the complete field: https://stripe.com/docs/js/element/events/on_change?type=paymentElement
Is there a way to also have Stripe show errors next to each field as it usually does?
Well, it just does that automatically when the customer is inputting values. There's no method to call to manually validate fields
That just happens automatically
I understand, though if a field hasn't been input at all, there is no error next to it
There's no way to validate those other than call confirmPayment AFAIK