Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Forms
Viewing all articles
Browse latest Browse all 61369

Customise the email submit button with custom email, cc, bcc, subject and body - almost working!!

$
0
0

Hi

 

I have been working on trying to customise the email submit button to custom entry email address, cc, bcc, subject etc etc

 

You can use the pre-submit function on the email button

 

I am using the following code:

 

this.event__click.resolveNode("#submit").format = formatlist.rawValue;

this.event__click.resolveNode("#submit").target = "mailto:"+customemail.rawValue+"?subject="+subject.rawValue+"&cc="+cc.rawValue+"&bcc="+bcc.rawValue+"&body="+body.rawValue;

 

THis is picking up values from a dropdown and a series of text boxes the values of each area.

 

This works beautifully except for the subject area. For some reason teh subject area copies the entire srting from the subject onwards, all other areas (cc & bcc & body) all only copy the value assigned to its function.

 

Any thoughts

 

Feels like a bug in the coding but it may also be intentional.

 

Thanks


Viewing all articles
Browse latest Browse all 61369

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>