Is there a script that will change a user entered email address to a clickable hyperlink?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Something along these lines should work (click event of textfield):
if (this.rawValue !== null) {
var vEmail = this.rawValue;
var vSubject = "A Subject for your email";
var vBody = "Put your body message here...";
event.target.app.mailMsg({
bUI: true,
cTo: vEmail,
cSubject: vSubject,
cMsg: vBody
});
}
That should get you along the right lines,
Niall
Views
Replies
Total Likes
Hi,
If you set the font to an underline and then have script in the click event of the field, that uses the rawValue of the field. You would need to check in an if statement that the rawValue !== null.
Should work,
Niall
Views
Replies
Total Likes
I'm sorry Niall, but I don't know what script to use.
Thanks
Views
Replies
Total Likes
Hi,
Something along these lines should work (click event of textfield):
if (this.rawValue !== null) {
var vEmail = this.rawValue;
var vSubject = "A Subject for your email";
var vBody = "Put your body message here...";
event.target.app.mailMsg({
bUI: true,
cTo: vEmail,
cSubject: vSubject,
cMsg: vBody
});
}
That should get you along the right lines,
Niall
Views
Replies
Total Likes
Niall,
That works great - thanks for your time.
~Don
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies