These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Problem with minus (-) in mailto:

FRED57
Registered: Sep 9 2008
Posts: 40

Hello!

I've a problem with mailto: . All my e-mail adresses use the minus sign (ex: AFE-partenaires [at] myconpagny [dot] com)

The problem is that everytime I try to use the mailto link in my document, the e-mail adresses are incorrect, everything before the minus is not taken in charge.

Sorry for my wonderful english

Thanks for your help!

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hi Fred,

you can use a regular button with a JavaScript in the click event to mail the form, too.

var myDoc = event.target;
var address = "AFE-partenaires [at] myconpagny [dot] com";
var sub = "Returned form";
var msgBody = "Hello..,\n\nThis is a returned form.\n";

myDoc.mailDoc({
bUI: false,
cTo: address,
cSubject: sub,
cMsg: msgBody,
cSubmitAs: "PDF"
});

Should be working fine!

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

FRED57
Registered: Sep 9 2008
Posts: 40
Thank you radzmar

But I don't want to use the e-mail adresse to post the Form.

I just wanted to give the e-mail adresse as information if my users have questions but it seems that when you use the @ symbol in a text line, Designer create automatically a mailto: function.

I'm sure there is a simple solution but I feel very stupid right now

Thanks
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
??? Hmmm

I don't get it.
You mean that if you have a text for some explaination that includes an e-mail-adress, you can mail the form by clicking on the mail adress sample, although you does not use a mail button?!
I tested it with a static text and a text field in a dynamic form, but I was not able to reproduce this.

Can you explain it more detailed? How did you create the form?

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

FRED57
Registered: Sep 9 2008
Posts: 40
HI,

Sorry, I know that I speak english as well as a spanish cow but I am going to be as clear as I can.

I've created a dynamic Form with LCdesigner 7 which include check boxes, radio buttons and pop-up windows.

At the end of my document, there is a simple text wihch include an e-mail adresse AFE-partenaires-access [at] mels [dot] gouv [dot] qc [dot] caI've tried to delete the text and ad a new on but everytime i put the @ in my text and I try a PDF preview there is a mailto link that appears on a roll over.

The problem is that this mailto: dosent support the (minus) symbol so my adresse apperas like that:

mailto:access [at] mels [dot] gouv [dot] qc [dot] caHope you can help

Thanks
daka630
Expert
Registered: Mar 1 2007
Posts: 1420
Try escaping the " - " character. Use %2D instead of " - "

Quote:
AFE%2Dpartenaires%2Daccess [at] mels [dot] gouv [dot] qc [dot] ca
Maybe, eh?

Be well...

Be well...