On clicking the submit button it is showing submit is not set after the if condition. I guess this message is showing because the form is not getting submitted. Kindly help