PDA

View Full Version : email address spaces in forms


mitmo
07-15-2002, 04:02 PM
got a form on my site that takes email addresses and basic script that validates that there is actually an email given. I want to be able to change the space in the email address to the html code for a space (I think its ) so that my mailing list software picks it up correctly...

example - if a user puts in test user@aol.com
I want it to be changed to test{html code}user@aol.com

the line for the email in the form is:
<INPUT type="text" name="replyemail" size="16">

Thanks for any help...
dave

scroots
07-15-2002, 09:26 PM
there is away to do this, you could have to boxes one hidden and combine them or use an onclick command so when the box is clicked it add is in the code but that would look ugly.

scroots