User753101303 posted
Hi,
"reloads when I click on the submit button"' is vague and could describe as well the correct behavior. Could it be that you are hiding a possible server side exception causing the page to be just shown again without the intended processing being done
on the server side?
The first step to fix a bug is to understand exactly what happens so that you can then look at the code knowing what to look for. And so you should avoid :
- trying to solve an issue without knowing yet exactly which error message or bad behavior you are trying to fix
- starting by looking at the code to guess which wrong thing could happen