I want to insert the users plain email address in a form.
{exp:member:custom_profile_data}
{email}
{/exp:member:custom_profile_data}
But I get the javascipt encoded output.
How do I stop it?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 19, 2012 7:38pm
Subscribe [2]#1 / Feb 19, 2012 7:38pm
I want to insert the users plain email address in a form.
{exp:member:custom_profile_data}
{email}
{/exp:member:custom_profile_data}
But I get the javascipt encoded output.
How do I stop it?
#2 / Feb 20, 2012 5:59pm
Hi kokako,
What you posted is a little thin on context.
What kind of form are you trying to place the email address in? Are you wanting to use the logged in member’s email address, or a specific member’s address? What type of form input are you trying to place the email address in?
What version of ExpressionEngine are you using?
Provide as much detail as possible about what you want to achieve and I’ll be happy to help you get there!
Cheers,
#3 / Feb 20, 2012 6:07pm
Thanks but {logged_in_email} solved it for me.
#4 / Feb 24, 2012 10:59am
Kokako,
I am glad to hear that you found a solution. Thank you for posting that as well, the community appreciates it!
Happy Friday,