how to add to and cc fields via email submit button
i have created form requires pdf format. need form submit via email option change/select to: , add cc: field selection well. please provide information available new livecycle , not familiar script or code.
thanks!
you can following:
you have use normal button!!
//fill in e-mail var mailto = formular1.s1.email.rawvalue; //var mailto = "test@test.de"; //fill in subject var subjectbetreff = formular1.s1.betreff.rawvalue; //var betreff = "test-betreff"; //fill in message var messagenachricht = "content pdf:\r" + "field content: " + formular1.s1.inhalt.rawvalue + "\rname: " + formular1.s1.name.rawvalue + "\rdatum: " + formular1.s1.datum.formattedvalue; //var nachricht = "this test message.\r2.row start here.\r3.row here."; //fill in e-mail cc var cc = formular1.s1.emailcc.rawvalue; //var cc = "testcc@test.de"; //fill in e-mail bcc var bcc = formular1.s1.emailbcc.rawvalue; //var bcc = "testbcc@test.de"; var mail = "mailto:" + mailto + "?subject=" + subjectbetreff + "&body=" + messagenachricht + "&cc=" + cc + "&bcc=" + bcc; //csubmitas: "pdf" send pdf attachment //csubmitas: "xml" send pdf xml-attachment event.target.submitform({ curl: mail, bempty: true, csubmitas: "xml" });
hope helps you,
kind regard mandy
More discussions in LiveCycle Forms
adobe
Comments
Post a Comment