Skip navigation
Currently Being Moderated

Reader extension

Jul 12, 2012 8:45 AM

I have a form in Livecycle and I need to enable the reader extensions so they can save a filled out copy on their local machine and I can't seem to make it work.  Any help would be great.

 
Replies
  • Currently Being Moderated
    Jul 12, 2012 11:27 PM   in reply to feltonjames

    Hi,

     

    you need at least Acrobat to enable save rights for Adobe Reader.

    In Acrobat X goto File > Save As ... > Reader Extended PDF.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 17, 2012 3:35 AM   in reply to feltonjames

    What method do you use to populate the date field? I mean what script in what event?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 17, 2012 10:55 AM   in reply to feltonjames

    Ok,

     

    this is tricky but not impossible.

    First you need to know the full somExpression of your date field.

    Open the form in Acrobat, your field will be populated with a date.

    Now open the JS Console (Ctrl + J) and erase the populated value.

     

    Type the following line into the console and confirm with the return button:

    this.xfa.form.form1.Page1.DateField1.rawValue = null;
    

     

    The syntax always starts with

    this.xfa.form
    

    followed by the somExpression of the target object.

    In my example it is

    form1.page1.dateField1
    

     

    Now, your field is cleared and you can apply the Reader Extensions from Acrobats menu.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 18, 2012 10:47 AM   in reply to feltonjames

    The language you use to populate the date has nothing to do with that, so you can stay with FormCalc.

    In fact you propably don't have to change anything in your form.

    All you have to do happens in Acrobat, because here you're add the Reader Extenstions.

     

    In Designer only check the somExpression of your date field.

    In this case it's Form1.Page1.DateField1.

    Screenshot_1.png

     

    In Acrobat open the JS Console.

    Type the full reference expression into the console plus the new Value it should have, such as "null".

    this.xfa.form.Form1.Page1.DateField1.rawValue = null;

     

    Press Ctrl + Return to execute that code.

    The date field will be cleared immediately.

    Now apply the Reader Extensions from Acrobat's menu.

    Screenshot_2.png

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points