it doesn't matter if it's a link or a form button. going from point A to point B requires a connection between the two points. Point A needs to know how to get to point B and in return, point B knows where Point A is.
Test it out on your own first. Create a form, post it to another script and display the Referer on the page.