Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm using the email field module on a node type where companies can include an email address that vistors can email to for more information.
It would be Really useful to be able to include a field on the Email contact form where the sender can enter their phone number. Is there an easy way to do this?
Alternatively, is it possible to have a display option that uses either a webform or entity form, something fieldable would be great.
Comments
Comment #1
nravens CreditAttribution: nravens commentedI wasn't able to find anything online that helped me solve this issue.
I needed the sender to send an email with the province they're in and also provide their phone number so that the email recipient can call them.
What I did as a quick 'fix':
Used string override module to to change "Subject" to "Province"
So when they send the mail, we get the node title inside [ ] followed by the Province they're in.
Then I renamed "Message" to "Telephone and a Message"
I also added this: to remove the site email address as the default reply-to address
It's not an ideal solution but helped temporarily in my case as I needed something asap.
Hope with is at least a bit useful to someone needing something similar...