Dynamic Form Button Text based on response
I am working on a Marketo form and if someone checks a box to bring a guest, I would like the button to change to say "next" but if they do not check the box and do not want to bring a guest, I would like the button to just say "submit."
Is there a way to do this?
Thank you!