I have a register button, I click on it and it shows up a modal with a registration form. I submit my form and then modal is closed. If I click on register button again my form fields won’t be cleaned.
Well, ok. I know modal is reusable. But how could I reset it at once after submit? Is there any easy way to do that?