Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By hoppla on
Hi, I am working on a webform and would like the form to retain the email address of a member before submission. the email field for each member is hidden. I have tried post and get without success. Currently the only successful run was using %useremail but of course this is the user signed in and not the member. The action should complete after clicking the 'send message' link for each member e.g. adele moss. Please see the url below under menu option 'enjoy storytelling' then find a storyteller. Your help is very much appreciated with this.
Www.hopplasandbox.co.uk/sfslive
Jonathan
Comments
Look at the Webform
Look at the Webform References module, along with this issue for referencing users. I haven’t tested but it may allow you to reference the relevant member to ensure their email address can be used.
Also look at Entity Form (an alternative to Webform) in conjunction with with Entity Reference for referencing users.
But, If you just need the ability for anonymous site visitors to send an email to a site member then you could use the Contact module. Don’t forget to add some sort of spam protection, I'd suggest Honeypot.
Thank you!
Thanks Jlg, I'm still having issues but will use your guidance today. Thanks for taking the time to reply