Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Possible to have E-Mail button pull address from text field?

Avatar

Level 2

I've added a button that will submit the form as a PDF to an e-mail address. Another field will pull the customer e-mail address from our system. Is there a way to merge the two to ensure the E-mail button set up will use the e-mail address pulled in?

1 Accepted Solution

Avatar

Correct answer by
Level 10
4 Replies

Avatar

Former Community Member

Yes there are ways ...it will depend on how you set up the email button ...can you describe what you did to set it up?

Paul

Avatar

Level 2

It's a generic button, with the control type set to Submit.

Submit As is set to PDF, unfortunately submitting this as XML wouldnt be a viable option for the nature of how this will be used.

Submit to URL is -- mailto:CUSTOMER_EMAIL?subject=blahblahblah

CUSTOMER_EMAIL is the variable pulling data into the form, would like for this to populate as well into the mailto address.

I do apologize for the ambiguity on the first post! I can certainly attatch the form if need be and I greatly appreciate the help.

Avatar

Correct answer by
Level 10

Here is a sample form..

https://acrobat.com/#d=CK4QgXn38l49bzQlhWtKSA

Thanks

Srini