Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Email submit fails

Avatar

Level 2

It's the form that gets no rest. I had a working version, but the users asked for a major redesign of the form, reducing it to a single page by taking out a lot of fields. That required significant changes to the javascript.

I've got the form validation code working again for the most part. There is still a bug in the code for the new Role drop-down field. When the selected Role is "Other", the Specify Other text field should become visible, and the validation code should require the Specify Other field to be populated if "Other" is selected for the Role.

Once validation succeeds, the code reaches the line that sends the email...

 

event.target.submitForm({cURL:"mailto:" + strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF",cCharset:

"utf-8"});

...but the line doesn't result in creation of an email.

We did recently migrate from GroupWise to Outlook in this shop, if anyone thinks that might have something to do with the problem.

https://acrobat.com/#d=2UlhJNyhvQA3JKj1pvEVvQ

2 Replies

Avatar

Level 10

Hi,

The syntax for the carbon copy is &cc= and therefore we place this at the end of the cURL string. See an example here (third button at the end of the page): http://assure.ly/dYQFb4.

Hope that helps,

Niall

Avatar

Level 2

This actually seems to be an environment problem. After banging my head against it all day, I let one of my co-workers try the form. It worked fine for her. Hopefully the network guys can figure this one out.