Question
Button with Mailto link - Code stops working if & is in a field
Hello,
I have a button that generates an email with fields from a specific record. If a field contains any contents with an &, anything below the & will not populate in the email. How can I ensure the Mailto Link allows & characters?
Example:
"mailto:"&""&[Email 1]&
"\n"&"?subject="&"\n"&[Record]&""&
"&body="&"Location Name: "& [Location Name]
"%0D"
&"field2"&
"%0D"
&"field3"&
""
--- If Location Name for the records is AT&T, then the body of the email will be "AT" and nothing after... ---
How can I ensure the mailto link copies the exact field contents without stopping at the & character?
Thanks!
------------------------------
Meagan
------------------------------
I have a button that generates an email with fields from a specific record. If a field contains any contents with an &, anything below the & will not populate in the email. How can I ensure the Mailto Link allows & characters?
Example:
"mailto:"&""&[Email 1]&
"\n"&"?subject="&"\n"&[Record]&""&
"&body="&"Location Name: "& [Location Name]
"%0D"
&"field2"&
"%0D"
&"field3"&
""
--- If Location Name for the records is AT&T, then the body of the email will be "AT" and nothing after... ---
How can I ensure the mailto link copies the exact field contents without stopping at the & character?
Thanks!
------------------------------
Meagan
------------------------------
This topic has been closed for replies.
Sign up
Already have an account? Login
Login to the community
Login with Quickbase US – quickbase.com Login with Quickbase EU – quickbase.eu
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.