Stefan Cameron on Forms
Building intelligent forms using Adobe LiveCycle Designer

Ready For 2010!

Hello everyone,

I trust you’re all ready for the new year/decade ahead of us! I’ll be catching-up to comments over the next couple of weeks and hope to be posting some new tutorials soon.

Happy New Year!

Stefan


Posted by Stefan Cameron on January 4th, 2010
Filed under General
Both comments and pings are currently closed.

6 Responses to “Ready For 2010!”

  1. Stefan on January 5th, 2010

    Dear Mr. Cameron,

    Seems that I have a small problem with changing the values of an image field. When I hit delete the subform is deleted but the image field is not updated.
    Can you please help with the issue discussed here: http://forums.adobe.com/thread/548405

  2. Stefan Cameron on January 6th, 2010

    Stefan,

    It looks like Paul was able to help you out…

  3. JC on January 11th, 2010

    Dear Mr. Cameron,

    do you think its possible to add attachments via form guide?

    I know that in pdf form, we could do that by clicking the paper clip button beside the pdf form. I am wondering if it is possible to do that in form guide

    thanks,

  4. Stefan Cameron on January 13th, 2010

    JC,

    I’m not sure if this can be done however the new Acrobat/Reader 9.2 API for attachments might make this possible. I would imagine you would have to have a button that you click in the form guide which would execute the click event of a button in the PDF which would, in turn, execute the script to add the attachment.

    For example, add a regular button to your form with the following Click event script:

    if (xfa.host.name == "Flash")
    {
        // executing within context of form guide (ActionScript)
        var fieldName:String = OtherButton.name;
        if (ExternalInterface.available)
        {
            var exFunc:String = "callPdf";
    
            var messageParams:Array = [];
            messageParams [ 0 ] = id;
            messageParams [ 1 ] = "execAction";
            messageParams [ 2 ] = fieldName;
            messageParams [ 3 ] = " ";
    
            ExternalInterface.call(exFunc, messageParams);
        }
    }

    (Note that this code depends on the current implementation of the LiveCycle FormBridge script that is injected into XFA-PDF forms rendered as form guides.)

    Then place a second regular button called “OtherButton” which is hidden and has the script necessary to add an attachment in its Click event.

    Finally, expose only the first button in your form guide. When the user clicks on it, it will execute the Click event of the OtherButton in the PDF which will, in turn, execute the attachment script, theoretically letting you add an attachment to the PDF running in the form guide.

    Note that you will have to ensure that the PDF is rendered along with the form guide (and make sure you include the PDF when you preview as well) otherwise, the call to the OtherButton will do nothing.

  5. Vishnu Prasath on January 20th, 2010

    Hi Stefan,

    We are using a dynamic pdf created using Adobe Livecycle 8.1. The pdf has multiple dynamic pages and multiple grids.we have unchecked the option “Include header row in subsequent pages” for all the grids.

    Results:
    1.But if any of the table data extends to more than one page, then the table header row on the subsequent page is appearing with a table header row which is incorrect.
    2.Moreover the header row that appears does not belong to the current table itself.

    Expected results:
    With the option “Include header row in subsequent pages” unchecked, the subsequent pages should not include a header row at all.

    Please help us to resolve this issue.

  6. Stefan Cameron on January 21st, 2010

    Vishnu Prasath,

    That sounds strange. Are you certain that those header rows aren’t also marked as “Overflow Leaders” on some subform that might break across pages?

    Can you replicate the issue by creating a new form, new table, multiple rows, and no header on subsequent pages (option unchecked)?