Below is my requirement:
A user logs into a SharePoint application and clicks on some links(any link on the page) for the first time. He should be redirected to a form in which a webpart with Submit button is placed. When submitted the form has to redirect to the clicked link (the page which he requested earlier). How do I pass this particular requested page url to the button submit.