Sending form field data with mailto:
I have added an "Add Notes" field to a form which will be visible when editing a record. The note contains a link with a mailto and I want to send some of the fields as an e-mail
I first tried to access the fields directly, but that didn't work. Example:
<a href="mailto:someone@somewhere.com?subject=<%input.Title%>&body=<%input.Content%>">Send this record via e-mail</a>
I then tried to generate a populated mailto:-link in the onLoad script. Example:
Send_mail_link = "<a href='someone@somewhere.com?subject=' + input.Title + '&body=' + input.Content + '>Send this record via e-mail</a>";
The last one worked, but only in some cases where the content of input.Content isn't too complicated. I'm guessing it's because this is sent to the mail client via the GET method and thus is limited to 256 character? Is there a better way of doing this?