Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
12-15-2005, 09:33 PM #1
- Join Date
- Mar 2004
- Thanked 0 Times in 0 Posts
Set Form Value to Unescaped URL parameter
I am trying, so far without success, to set a form field value to an unescaped URL parameter. Here is the story. A recipient of email from us click an opt-out button and jumps to an opt out page. The URL of that opt-out page has the recipient's email address appended to the URL as a parameter. But the URL has the "@" symbol in the email encoded into "%40", so I have to unescape it to convert the "%40" back to an "@" symbol. So the URL looks like ...company.com/page/emailoptout.htm?emailname%40yahoo.com
In my header I have script to try to set my "emailoptout" form's "email" field value to the unescaped URL parameter:
But upon submission the email address is not arriving with the other form fields' data. Can anyone help?