I was wondering if a person types in their email and it's of a certain type if the action could be changed. Problem is the forms name I think...dunno.
<form name=myform method=post action=mail.php>
<input type=text name=receiver value=Email Address>
Now, when the user types in yahoo.com on the end of his address, the form now changes to:
<form name=myform method=post action=mail2.php>
I'm thinking: If yahoo.com, then action=mail2.php, else=mail.php
Dunno if this is possible. I'm using a bunch of js validation but am thinking of changing it to server-side if need be.
An example would be great.