Expand my Community achievements bar.

Thom_Parker
Thom_Parker
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Yes, it goes away if the PDF is certified and the user has the digitalcertificate on their system. The message is only displayed when the code isrun from a non-privileged context. Same for all the standard alert boxes.Thom ParkerWindJack Solutions, Incwww.windjack.comwww.pdfscripting.com

    Type

    Questions

    Views

    3.6K

    Likes

    0

    Replies

    0
  • If a dialog is run from a non-privileged context Acrobat is very keen on letting the user know that it's a JavaScript popup dialog so they don't get spooffed.  You get the same thing with the alert boxes.  The only way to get your title back and to remove the red JavaScript Warning message at the bo...

    Type

    Questions

    Views

    3.6K

    Likes

    0

    Replies

    0
  • There is an easy way to get a value for your list box item. Create a masterobject that maps text to a value. Cheers,Thom ParkerWindJack Solutions, Incwww.windjack.comwww.pdfscripting.com

    Type

    Questions

    Views

    3.6K

    Likes

    0

    Replies

    0
  • I'm not sure exactly what you mean.  But, the list passed into the "dialog.load()" fucntion is a JavaScript object where the member names are the list items and the member values are just an indicator that tells Acrobat which item is active.  This is not an index value or an export value.  It's more...

    Type

    Questions

    Views

    3.6K

    Likes

    0

    Replies

    0
  • The list passed into the "dialog.load" function is an ordinary, generic JavaScript Object.  You can write code to build this object before passing it into the load function.var myList = {};myList.apples = -1;myList."Pear" = -1;for(var i=0;i<2;i++)  myList["sel" + i] = -1;dialog.load({"subl":myList})...

    Type

    Questions

    Views

    3.6K

    Likes

    0

    Replies

    0
  • To affect serveral fields you will need to use one of two strategies. First you could reference the fields explicitly using code similar to what is posted above. Or you could use the "resolveNodes" function to acquire groups of files. Since you are unfamiliar with JavaScript I would suggest the firs...

    Type

    Discussions

    Views

    971

    Likes

    0

    Replies

    0
  • None of the code you've shown so far should have any affect on performance. There's just not enough of it. The problem is with some other feature of the form. Do you have an extrodinary number of fields? Lists with lots of entries? Web service or DB connections? Thom ParkerWindJack Solutionswww.wind...

    Type

    Discussions

    Views

    2.4K

    Likes

    0

    Replies

    0
  • What exactly do you mean by required? "Required" usually means that the field must be filled out before the form is submitted, is this what you mean? Thom ParkerWindJack Solutionswww.windjack.com

    Type

    Discussions

    Views

    3.1K

    Likes

    0

    Replies

    0
  • There are lots of JavaScript locations in a PDF. Where you put it depends on how you want to use it. For example, if you wanted to make a field hidden/visible by clicking on a button you'd put this script in the Buttons "MouseUp" Action. Thom

    Type

    Discussions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • What do mean by "old Acrobat 7"? Do you mean an AcroForm PDF. i.e., a PDF using the standard old form fields that you add in Acrobat?For this you use the old "display" Field Property.this.getField("myField").display = display.hidden;orthis.getField("myField").display = display.visible;Thom ParkerWin...

    Type

    Discussions

    Views

    1.9K

    Likes

    0

    Replies

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