There is a submit button at the end of the form.
I have added the following conditions to the submit button:
onClick="this.disabled=true; this.value='Sending…'; this.form.submit();"
But when jumping to the next page, the parameters are not passed and a null value is passed.
You should submit the form first and then change the submitted value:
You may have submitted the form twice. Remove
this.form.submit()
or addreturn false
at the end.You should end up with
onClick="this.disabled=true; this.value='Sending…';"