How can I create this statement with dynamic data binding?

So I want to add a mailto link in a href for example
<a dmx-bind:href=“mailto:{{select.data.query1[0].email}}?subject={{title}}”></a>

How can this be done? The mailto add’s the email but I can not get the subject to add the {{title}}

Thanks in advance to our great community here on Wappler :slight_smile:

Hi @gunnery
Looking at your email expression, are you sure the title should not be:
{{select.data.query1[0].title}} ?

You my also want to read http://michoninternational.com/michon-news/never-use-a-href-mailto-or-html-mailto-on-a-website/

2 Likes

as per normal @Teodor you are right sir. :slight_smile:

1 Like

cheers @ben that’s all working now :slight_smile: