I want to be able to post the data entered in a form to a specific location. The reason for this is that I have multiple member areas, that you can log-in to via a form. However I want to enable users to choose their member area and submit their username and password at the same time. This would be done like so:
What I need to do is swop Martin for Sarah, or Bob or whatever via a drop-down selection. The data would be:
optional url's for data posting - drop down
username - text field
Is there some way of swapping the action value in <FORM name="login" action="url?data" method="post"> ?
I hope somebody can help because I've just spent about five hours looking around on the web and can't find anything on it. I've set up something before that enables htaccess via selected url but that's based on window location and not form submition.