Reset type input redirects to the wrong page
-
Hello everyone This is my first post on Code Project that concerns the functionality of the HTML reset type input. It would be appreciated if anyone would suggest me any pointers/workarounds for the problem as stated below. The problem I'm faced with is clicking an input form control in an HTML form whose type attribute is 'reset' always redirects the browser back to the same wrong page:
" method="post">
* *
This HTML form is located in password_recovery.php and the redirect points to register.php, although password_recovery.php does not include any URL containing register.php. I checked the HTML specifications of the reset type input, but none of them says anything about its behaviour to redirect to other pages. Thanks for reading. I look forward to receiving replies.