I have a collection of members with an email field. I selected URL as the field type but in order to make the link hot in the public facing table I had to make it “mailto:email@address” in the collection. On the published site of course it displays the “mailto:” and clicking it opens the email client in the same window taking you off the site. I’d like to not display the “mailto” and I’d rather it open the email client in a new window. Can anyone tell me how to do this?
If you can keep them seperate then they can easily be coded to open in the email client of the user.
https://support.wix.com/en/article/creating-a-clickable-email-address
mailto:@<someplace.com>?subject=: An email.
https://www.wix.com/corvid/reference/wix-location.html#to
Open a new email window
import wixLocation from 'wix-location';
// ...
wixLocation.to("mailto:a@b.com?subject=Something%20Interesting");
Same with if you put it all in a repeater with a text box for it.
Otherwise, you will have to look at using code like in this previous post.