Hi, to start with XFA forms, you should check this source. It hat many useful samples.http://assuredynamics.com/index.php/code-solutions/ You can repeat pages of your form the same way as you do with table rows. Both are technically subforms and can be set to have multiple occurences. Those will inc...
Hi, to be honest: You coding isn't great but overcomplicated. Why do you use the this.resolveNode() method? It's lazy and not needed when the elements in the hierarchy (subforms, fields etc.) are named well.You just have to image the location to the object that executes the script relative to the ob...
The date picker widget is controlled by the operating system. You can't control its behavior via scripts.Use this custom date picker instead:http://adobelivecycledesignercookbookbybr001.blogspot.com/2013/05/an-alternative-date-picker-for.html
XFA based forms only support rotation in 90° steps. To add a diagonal text you have two options:1. Create a background image providing the text you want to display. Place that image on the masterpage and control it's presence with a script. You can use 8-Bit PNG files with transparancy or white back...
Here's a sample to import XML via JavaScript. This method works in Acrobat and Reader as well.https://thelivecycle.blogspot.com/2014/07/import-xml-via-script-into-adobe-reader.html You can also use the Acrobats readFileIntoStream() method to import data from a simple TXT file. You can write its data...
You can use the resolveNodes() method, to create a filtered list of suitable nodes by searching for classNames and other properties. So you'll avoid the null-problem completely. // Filter all field nodes that are not buttons.
var fieldsArray = xfa.form.form1.resolveNodes('#field.[ui.oneOfChild.clas...
You can execute a script to disable the field highlighting of the PDF viewer. app.runtimeHighlight = false; To create a border around the input area of a field use the following script as follows:Textfeld1.ui.oneOfChild.border.edge.color.value = "255,0,0"; // Create a red border
The following code won't work. .access = "hidden"; It's either .presence = "hidden"; // not visible or .access = "readOnly"; // write protected depending on what you're after.
The correct syntax for calling the mailDoc() method from a script in Designer is as follows: event.target.mailDoc({
bUI: true,
cTo: emailTo,
cSubject: emailSubject,
cMsg: emailBody,
cSubmitAs: "PDF"
});
Hi, I guess a script as the following should to the trick.var nPartTime = page1.subApplicant.ddPartTime.rawValue, //DDL
nProRatedApproved = tblCourse.row9.proRatedApproved.isNull ? 0 : parseFloat(tblCourse.row9.proRatedApproved.rawValue), //green
nReimbApproved = tblCourse.row8.reimbApproved.isNul...