Stefan Cameron on Forms
Building intelligent forms using Adobe LiveCycle Designer

Archive for March, 2010

Post Frequency Change

Just a quick note to make you aware that while I may not be posting very frequently for the time being, I am still actively responding to your questions via comments.

Excerpts of the 10 most recent comments are now conveniently located directly on the home page, in case you want to see the latest activity.

Posted by Stefan Cameron on March 18th, 2010
Filed under General

Acrobat JavaScript Debugger on XFA Forms

Many of you have been requesting some debugging features for XFA Forms (and I’m sure many more of you just haven’t voted for it yet). It so happens that Acrobat Pro has a JavaScript Debugger which can be used — to a limited extent — with XFA Forms. See John Brinkman’s post to learn more about it — thanks John!

As he puts it, there are limitations, the biggest ones of them being, in my opinion, the inability to debug script objects and the inability to retain breakpoints between debugging sessions. Nonetheless, this tool can give you way more insight than the good old “JavaScript Console + saveXML(‘pretty’)” combination can in certain cases, and it does it in a nice tree to boot!

Posted by Stefan Cameron on March 12th, 2010
Filed under Acrobat,Debugging,Scripting,Tutorials,XFA

Tech Talk on Database Connected Forms

Paul Guerette, a colleague of mine at Adobe, will be giving a “tech talk” eSeminar on connecting forms to databases over at on Tuesday, March 23, 2010, at 10am PST (1pm EST).

If you have been struggling with connecting a form to a database, are wanting to know what the best practices and/or security concerns are, or have some specific questions you would like to ask, I highly recommend you attend the session. It’s free to attend (and free to become a member in order to attend)!

I’ll be answering chat questions “live” as the session unfolds. I hope you can join us!

Posted by Stefan Cameron on March 10th, 2010
Filed under Acrobat,Data Binding,Designer,Scripting,Tutorials,XFA

Disabling All Fields Within a Subform

I thought I would point-out a nice improvement that was made to XFA <subform> elements back in XFA 2.8: The addition of the access property.

In days of yore, if you wanted to disable all fields and exclusion groups (for the sake of brevity, I’ll refer to these collectively as “fields” in this article) in a particular section of your form, you would’ve had to write a script that recursively drilled down into all children of that section looking for fields to disable. This is because the access attribute only applied to fields.

With this change, assuming the section in question is contained within a subform, you can now easily disable all fields contained within it simply by setting the subform‘s access attribute to “readOnly”!

Continue reading…

Posted by Stefan Cameron on March 8th, 2010
Filed under Scripting,Tutorials,XFA