Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

JohnBrinkman
JohnBrinkman
Offline

Badges

Badges
6

Accepted Solutions

Accepted Solutions
3

Likes

Likes
0

Posts

Posts
20

Discussions

Discussions
12

Questions

Questions
8

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by JohnBrinkman
Customize the badges you want to showcase on your profile
Re: xfa.log.message(...) gone in ES2? - Adobe LiveCycle 24-06-2010
The xfa.log object is still around -- but it exists only when executing in the context of the server. In acrobat if you check typeof xfa.log it will tell you "undefined".Server-scripts will run in Designer under certain circumstances. It depends on the kind of file you're saving:- save-as XDP: no script will run.- save-as static PDF: all scripts will run- save-as dynamic PDF: only scripts marked to run-at server will execute (scripts marked runat "client and server" do not execute)Some of this i...

Views

295

Likes

0

Replies

0
Re: Control over submitted XML data - Adobe LiveCycle 20-10-2009
When you define your form using a schema or sample XML, you get the opportunity to "Transform outgoing data" by specifying an XSLT script.When you provide a script here, it will execute against your data before it is submitted.Your other option is to bypass the submit processing and use FormCalcs put/post methods to explicitly format your message. John

Views

174

Likes

0

Replies

0
Re: How to allow Drop Down listbox to accept null values/no value - Adobe LiveCycle 20-10-2009
You can have an entry in the list to represent no value ("").Then you can add an exit script that looks like:if (this.rawValue === "") { this.rawValue = null;}This way, when the user selects the "" entry, the value will be set to null when they exit the field. John

Views

170

Likes

0

Replies

0
Re: Restrict text field from keying certain characters by user - Adobe LiveCycle 29-09-2009
You can restrict user input by modifying xfa.event.change during the change event.To remove the characters you mention, try this script:xfa.event.change = xfa.event.change.replace(/[\"\\[:;

Views

297

Likes

0

Replies

0
Re: Check if field validation passed (isValid?) - Adobe LiveCycle 29-09-2009
A couple of late comments here:If you want to see if a date field matches a pattern you can:a) Add a display pattern for the fieldb) The field will be valid if:field.rawValue != field.formattedValueThe reason this works is because if a field cannot be formatted with a picture clause, the formatted value will be the same as the raw value.There's more help coming:In acrobat 9.1 (XFA 3.0) there are new properties to determine if a field is valid.You can call subform.getInvalidObjects() for a list o...

Views

779

Likes

0

Replies

0
Re: Where is "Form locale" looked up from?? - Adobe LiveCycle 29-09-2009
Locale definitions are also stored inside the XFA definition. You can see them if you go into XML Source view and search for: "localeSet".The localeset will embed the ambient locale of the form designer's system, and will also embed all locales referenced by the form.So if you want to guarantee that the Danish locale gets embedded, then create at least one object on your form that explicitly uses that locale.Also bear in mind that once a form with an ambient locale is opened and saved, the local...

Views

835

Likes

0

Replies

0
Re: Image Linking - Can it be done w/o embedding - Adobe LiveCycle 29-09-2009
You cannot have linked images in a PDF (well, technically, the PDF spec allows it, but Adobe products won't generate this variation of PDF).Among the reasons:a) With a linked image the document is no longer portable (the 'P' in PDF)b) With a linked image, you cannot reliably sign a PDF, since the referenced image could changeThe linking/embedding option you see in Designer applies to whether the image is embedded in the template.When the PDF is generated from the template, any linked images will...

Views

152

Likes

0

Replies

0
Re: Image Field Name Display - Adobe LiveCycle 29-09-2009
If the image was added in Designer, the image name gets saved under the element.The file name can then be displayed with the expression:ImageField1.desc.embeddedHref.valueAs Paul says, if the image field were updated in Acrobat, the desc element does not get updated.Updating the image field desc element in Acrobat would be a nice enhancement request. John

Views

196

Likes

0

Replies

0
Re: Limit the input in a numeric field - Adobe LiveCycle 25-02-2009
If you want to swallow all keystrokes after you've reached 10 characters, then clear the xfa.event.change property:if (xfa.event.newText.length > 10) xfa.event.change = "";John Brinkmanhttp://blogs.adobe.com/formfeed

Views

616

Likes

0

Replies

0
Re: Validation pattern for 4 digit number - Adobe LiveCycle 25-02-2009
You could use a text picture instead of a numeric picture:text{9999} will enforce that all 4 digits are supplied.(Designer will give you a warning if it is a numeric field, but you can ignore the warning) John Brinkman http://blogs.adobe.com/formfeed

Views

498

Likes

0

Replies

0