• Resolved iboudreau

    (@iboudreau)


    Hi,
    I need to use an email address as a custom field. How can I make it clickable to launch email client? (see GET IN TOUCH line on page)

    I tried the “link” field type. But when I enter mailto:email@email.com, the “mailto:” is also displayed on the front end.

    What can I do to display the email address and make it clickable?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @iboudreau,

    You can solve this issue by changing the custom field type to “short text” instead of “link”. And then modify each email to use the <a> tags, with “href” attribute.

    Format:
    <a href='mailto:EMAILADDRESS'>EMAILADDRESS</a>

    For example:
    mailto:1a@wamu.org needs to be written as: <a href='mailto:1a@wamu.org'>1a@wamu.org</a>

    Thread Starter iboudreau

    (@iboudreau)

    OK, Thank you.

    But maybe in the future, you can add an email field? You have a great plugin that can be used for different purposes, not always shopping related. So this featured would be helpful.

    Thank you.

    Thank you for the feedback 😊

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Email address in Custom Field’ is closed to new replies.