I'm putting together a site which is basically (at least initially) to run a small mailing list and allow people to sign up, manage their own profiles and preferences etc.
I'd like to be able to invite members of an existing mailing list to sign up the new one, and ideally I'd send them a personalised link which would take them to the new registration form with the name and email address pre-filled for them.
I can get the data from the URL (using the getstring); I've used
to extract the email in a cms variable 'emailsent', and can echo that to the page to confirm it's getting there OK.
But if I try
the value does not appear in the form.
How can I achieve what I want in this case?
I'd like to be able to invite members of an existing mailing list to sign up the new one, and ideally I'd send them a personalised link which would take them to the new registration form with the name and email address pre-filled for them.
I can get the data from the URL (using the getstring); I've used
- Code: Select all
<cms:set emailsent="<cms:gpc 'e' method='get'/>" />
to extract the email in a cms variable 'emailsent', and can echo that to the page to confirm it's getting there OK.
But if I try
- Code: Select all
<cms:input name='extended_user_email' value="<cms:show emailsent />" type='bound' />
the value does not appear in the form.
How can I achieve what I want in this case?