These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

E-mail selected pages

HLF
Registered: Jan 6 2008
Posts: 21

My form uses javascript to e-mail the document as a PDF. The script does not allow the form to be sent if a checkbox has not been activated. My form is five pages long: when submit is clicked I want to email only the first three pages.

How can I do that?

var check = xfa.resolveNode("CheckBox3");

var url_address = "mailto:test [at] abc [dot] combody=Send this email to submit your proposal. Add notes if desired.";

var doc = event.target;

if(check.rawValue == 0){

app.alert("Your proposal will not be accepted if you have not checked your acceptance.");

}else{

var form_format = "PDF";
doc.submitForm({ cURL: url_address, cSubmitAs: form_format} );
}

rodbunn
Registered: Feb 3 2008
Posts: 81
Did you ever figure out how to e.mail selected pages???
I really could use this ability on my form..... Let me know
if you came up with anything please???

Thanks, Rod