Expand my Community achievements bar.

Thom_Parker
Thom_Parker
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • I've used the following FormCalc code successfully in a Calculation Script for placing the current DB value into a text field. The DB table is "CustomerOrders" and the column is "Address"All of these SOM expressions are equivalentxfa.record.CustomerOrders.Address$record.CustomerOrders.Address$record...

    Type

    Discussions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • The following validation script works for keep the focus in the field and displaying the defined error messagevar bRtn = this.rawValue > 10;if(!bRtn) xfa.host.setFocus("form1.Pg1.NumericField1");bRtn;The last statement is the validate value returned to Acrobat. Thom ParkerWindJack Solutionswww.windj...

    Type

    Discussions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • Jim, These string operations are part of Core JavaScript, not Acrobat. To learn about using string in the JavaScript language you should take a look at a JavaScript Language Reference. The O'Reilly book is the best but there are plenty of online resources as well. >>TextField1.rawValue = str1.substr...

    Type

    Discussions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • Both printer tray and duplex control are outside of features that can be applied to a PDF. Both would be welcome features to Acrobat JavaScript. Both of these features are in Postscript. I don't know of any specific tool but you might want to look around for post processing tools. For example a Post...

    Type

    Discussions

    Views

    942

    Likes

    0

    Replies

    1
  • Rudy, The good news is that you don't need to use the concat function. You can add strings together just like they were numbers. Although if they are numbers, like you seem to have, you need to be a bit careful to make sure they are concatonated strings rather than added numbers. For examplestr1 = "...

    Type

    Discussions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • I don't know what submission format ColdFusion expects, I would assume that it would be one of the standard HTTP Requests, either POST or GET. You might want to find this out. I'm not sure about the options on the HTTP submit button in Designer. But I'm sure you can change this part of the submissio...

    Type

    Discussions

    Views

    1.7K

    Likes

    0

    Replies

    0
  • FormCalc is a different Language than JavaScript. It has it's own node path format, expression syntax, and functions. You need the FormCalc Reference.Here's a link to all of the related XFA Documentationhttp://partners.adobe.com/public/developer/xml/index_arch.html#afoThom ParkerWindJack Solutionsww...

    Type

    Discussions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • Do you mean, save to an XML file on the users local hard drive, or submit the data in XML to a server? Do you have any particular XML format in mind?Thom ParkerWindJack Solutionswww.windjack.com

    Type

    Discussions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • You have to understand that there is a series of events that occur when the user tabs out of a field. The entered data is formatted, validated, and then "Committed" (applied) to the field. It is at this point that calculations in the other fields are triggered. The new field value does not exist bef...

    Type

    Discussions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • I'm not a Coldfusion user so I can't give you a specific answer. But, if you were submitting from an HTML page instead of a PDF, How would you get data value? It should be the same process. Thom ParkerWindJack Solutionswww.windjack.com

    Type

    Discussions

    Views

    1.7K

    Likes

    0

    Replies

    0
Top badges earned by Thom_Parker
Customize the badges you want to showcase on your profile