How to use button in forms

Hi, I am taking a user’s phone number and sending OTP to that number. if the OTP is invalid then the user will click on the resend button for OTP.

So, How can I use the button in the Form

hi @Rishabh2110 ! buttons are defined in the responses, Responses | Rasa Open Source Documentation you can use these in a form, e.g. with an utterance like utter_aks_resend_otp