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

Required Fields When Emailing PDF

Choi1024
Registered: Jun 1 2009
Posts: 16
Answered

I changed my form submit button to a regular button so that I could have more control emailing a PDF submission. That part works find (thanks to help here). Unfortunately, Acrobat no longer complains about the required fields. Will I have to add script to validate them all manually?

 topmostSubform.Page1.Submit::click - (JavaScript, client)
//Variables to be used in the mail context
var project = resolveNode("Project_description").rawValue;
var account = resolveNode("Account").rawValue;
var manager = resolveNode("Account_manager").rawValue;
 
var myDoc = event.target;
var address = "<span class="spamspan"><span class="u">myaddress</span> [at] <span class="d">somewhere [dot] com</span></span>";
var subject = "Deal Sheet Submission for " + account + " from " + manager;
var msgBody = "Project description:\n" + project;
 
//Send mail action
    myDoc.mailDoc({
        bUI: true,
        cTo: address,
        cSubject: subject,
        cMsg: msgBody,
        cSubmitAs: "PDF"
        });

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Yes you will.

George Kaiser