Register/Login and Submit

Hello,
In Q&A settings I assign "ask questions" and "add answers" capabilities to Visitor role. When a visitor clic k to the "Register/Login and Submit" button, question and answers comes without registration but visitor redirects to register page. How can i redirect a visitor to a different page when he/she clicks to submit button..
Thanks.