Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

how get an email CC from a field text box

Avatar

Level 3

Not java savvy (unless it comes hot

with foam) I

have a submit button with mailto: address's. how do I get the CC to come from a field text box?

1 Accepted Solution

Avatar

Correct answer by
Level 10

I put in a sample file for your reference on sending the CC Email from a text box.

You can download the sample from the below link..

https://acrobat.com/#d=pFyQRZ*C1TYAlU*8VOpV8A

Thanks

Srini

View solution in original post

5 Replies

Avatar

Correct answer by
Level 10

I put in a sample file for your reference on sending the CC Email from a text box.

You can download the sample from the below link..

https://acrobat.com/#d=pFyQRZ*C1TYAlU*8VOpV8A

Thanks

Srini

Avatar

Level 3

Great!

thanks Srini, that just what I wanted

Avatar

Level 3

Okay, so the email script works well, but....... everytime I

actually submit it, the PDF brings up a box that says "Submit Cancelled" even though it goes through? Any Ideas how to fix that?

Avatar

Level 10

You can use this command to fix it.

this.resolveNode("#event").submit.target

= "mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage;

Thanks

Srini