I have a framework that has bootstrap built into the theme. I built a modal that shows the form but am running into a few issues. When you load the form and click on the inputs the values clear and reappear. Once you submit the form, and it returns errors the script no longer clears the inputs. I have been researching this for quite a while and am running out of options. Does anyone have any idea how I can get this to work? I also have tried to attach styling to radio buttons, select boxes, and other elements using jQuery and run into the same issue when the form returns errors. Thank you in advance for any help I may get.