How to disable create button on Wizard's last step using Alpine?

Hello, I have a 2 step wizard which I am using to add card details for Stripe. Step one takes the card details and goes to step two to submit the form. But before submitting the form I need to disable the create button and as soon as the Step two loads I need to send the Step one data (card details) to Stripe JS to receive the token that I want to set as value for Step two's hidden field named card_token. Once the card_token field is filled I need to enable the Create button to submit the form. Please let me know how to do that? I am struggling to make this work. Thank you so much.
1 Reply
mohdaftab
mohdaftabOP4mo ago
Bump
Want results from more Discord servers?
Add your server