@stripe Elements needs a way to focus the "inputs" from the DOM in a standard-ish way that can be made to work with most of the dom based form validation libraries.
Since Elements is inside an iFrame, that wouldn’t work out-of-the-box—you would need to listen for validation and then call element.focus() manually. Feel free to share more details with us at https://support.stripe.com/contact and we can take a closer look!
-
-
Already did. My ideas so far are either making focus on the private input focus the iframe input and giving it a custom attribute with the name. Or giving the iframe a name and making focus on it focus the input. Either one is less work than getting the elements instance.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.