Forums

mailto

hangbill 17 Jun, 2019
Hi
How do you create a link on an emial field in a Connectivity table list?
Thanks
healyhatman 17 Jun, 2019
<a href="mailto:{var:tableview.row.model.emailfield}">Link text</a>
hangbill 18 Jun, 2019
Thanks
In the table listing view, did this
<a href="mailto:{var:member_list.row.members.email}">Email</a>
But it returns a literal.

https://snag.gy/FqVE7u.jpg
https://snag.gy/Rvk5KD.jpg
hangbill 18 Jun, 2019
Any help here please.
healyhatman 18 Jun, 2019
It goes in column view not column list
hangbill 18 Jun, 2019
Like this?
It doesn't create link on email records, nor create a new column.
Tried var:member_data too, which is the read data function name.
Nor sure what the difference is between column list and column view?

https://snag.gy/a1iYmk.jpg

Thanks
healyhatman 18 Jun, 2019
Column list is the list of columns you want displayed in your table. Column view is what you want shown for that column. You need to identify the column the view is for.

So you need to put
members.email:<a href etc etc etc
hangbill 18 Jun, 2019
OK so have to leave members.email:Email in column list so that it shows, then edit the format / functionality in column views

Placed this in column views but now no email addresses showing. There is a column with Email header but no addresses
members.email:<a href="mailto:{var:member_list.row.members.email}"></a>
healyhatman 18 Jun, 2019
Well of course not, you don't have anything between the a tags buddy. <a href="link">link text</a>
hangbill 18 Jun, 2019
Yes I saw that and must have added after u posted, sorry.
The a tag in the 12.10 post does not work
healyhatman 18 Jun, 2019
What do you mean it doesn't work
hangbill 18 Jun, 2019
Placed it in column views but no email addresses showing. There is a column with Email header but no addresses
healyhatman 18 Jun, 2019
What does the debug look like and if you inspect a cell that should have an email in it what did the html look like
hangbill 18 Jun, 2019
https://snag.gy/0DrXGO.jpg
https://snag.gy/pKAuOH.jpg
healyhatman 18 Jun, 2019
What does your column view look like now?
hangbill 18 Jun, 2019
https://snag.gy/Lq9eyk.jpg
healyhatman 18 Jun, 2019
Okay so third time now, you need to put something in between the a tags!

Well of course not, you don't have anything between the a tags buddy. <a href="link">link text</a>

hangbill 18 Jun, 2019
OK, but how to get the members email address to show. The link text works but is literal.
Tried this members.email:<a href="mailto:{var:member_list.row.members.email}">members.email</a>
healyhatman 18 Jun, 2019
Answer
You already have it as part of the url.
members.email:<a href="mailto:{var:member_list.row.members.email}">{var:member_list.row.members.email}</a>
hangbill 18 Jun, 2019
Should have figured that out... .
Thank you Healyhatman.
This topic is locked and no more replies can be posted.