Reactjs – How to dynamically use a button outside of a form tag to submit a form
I have a multi-step form that has a "next" button that pushes you through the different steps. on the last page it changes to a "submit" button that connects to a form. I dynamically set the type and form attributes…