The Progress bar script does not pass button element types.
To fix the problem i changed the button element type to an input element type.
You could also have changed the trigger for validation and sending the email to either current form submit or any form submit.