Create email link in table

Hi

I have a Responsive Table populated from a database. I want to link the email field.

Currently the field looks like this: dmx-text=“email”

How do I code this so it is linked, I do not need to include any other information?

Is there a way to do this when setting up the table? I could not find any help files on this.

Thanks for your help

Hello,
When creating/editing the table, select column type custom
Then after the table is inserted on the page, insert your links as per:

Hi Teodor
Thanks for your help on this. I’m new to Wappler. I’m a convert from Dreamweaver CS6 so I’m still finding my way. I had trouble following the instructions and making them work for an email link.
Here is what I have in an anchor tag:
dmx-bind:href=“mailto:{{email}}”>{{email}}
What I’m I missing?
Thanks again for your help
Chris

Assuming that {{email}} is the name of your field holding your email address this should work for you. Does your email address display on the page as a link?

This should be wrapped in anchor tags.

<a dmx-bind:href=“mailto:{{email}}”>{{email}}</a>

Agreed Brad…

Ways to list an email link in a table:
<td class="pt-2 text-center"><a title="Click to send email." dmx-bind:href="mailto:{{email}}?subject=Hello Brother {{last_name}}!”>{{email}}</a></td>

Thanks for the reply.
The code is wrapped in an anchor tag and is the same as you suggest. The links look active but nothing happens when you click. It does not open the mail client. I suspect I've made an error somewhere else.
Here is the link to a test page.
http://acmg.ca.plesk01.alentus.com/02mem_members/mem_find.aspx?offset=25

It opens the mail client on my Mac.

Works perfectly fine for me. Opens up my mail client with the proper email address in the TO: field.

Perhaps you need to clear your browser cache.

Thanks everyone, it working now. I think it was pulling and older version from the cache.

2 Likes