Expand my Community achievements bar.

Thom_Parker
Thom_Parker
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • 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.8K

    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.8K

    Likes

    0

    Replies

    0
  • When selecting values off of a drop down list(combobox) you have to use a slightly different approach because your looking for a specific value.Put the following code in the "change" event for the drop down listif(xfa.event.newText == "5") xfa.form.form1.Pg1.Subform1.presence = "invisible";else xfa...

    Type

    Discussions

    Views

    939

    Likes

    0

    Replies

    0
  • Ahhh, you are not familiar with JavaScript. To do this you are going to have to learn just a bit. In Designer1. select the button you want to disappear.2. On the Script Editor window select "Click" (If the editor is not visible Look under the "Window" menu)3. Add this line of code to the "Click" eve...

    Type

    Discussions

    Views

    1.8K

    Likes

    0

    Replies

    0
  • Since XFA forms can be dynamic, the subforms can potentially grow outside of the current page. This can only happen if the Parent subform:1. Can reflow content (static subforms don't grow)2. Can also allow page breaks.So these are the conditions under which you can have a page break within a subform...

    Type

    Discussions

    Views

    517

    Likes

    0

    Replies

    0
  • Yes you can. The visibility of form elements is controlled by the "presence" attribute.xfa.form.form1.Pg1.myButton1.presence = "visible";xfa.form.form1.Pg1.myButton1.presence = "invisible";Thom ParkerWindJack Solutionswww.windjack.com

    Type

    Discussions

    Views

    1.8K

    Likes

    0

    Replies

    0
  • Jeff, this same strategy will work with Designer Documents. The difference is in the particulars of the XFA Object Model (the actual functions and properties)The following code is uesed to make subforms hidden/visiblexfa.form.form1.Pg1.Subform1.presence = "visible";xfa.form.form1.Pg1.Subform2.presen...

    Type

    Discussions

    Views

    912

    Likes

    0

    Replies

    0
  • In general, Databases are structured for woriking on a single record at a time. I've worked on database software in several different programing languages and API's and in every one you have to walk the records to get all the data in a column. Designer JS is no different.Here's some code that walks ...

    Type

    Discussions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • You cannot save a file from Reader to the user's hard drive unless the document has special enabling. There's an article on this athttp://www.acrobatusers.com/articles/2006/03/formrouter/formrouter.phpYou can however submit data to a server. Maybe you should consider this route.Thom ParkerWindJack S...

    Type

    Discussions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • The "presence" property controls visibility. I used this script in the click event of a radio button to turn subforms on and off.xfa.form.form1.Pg1.Subform1.presence = "invisible";xfa.form.form1.Pg1.Subform2.presence = "visible";Thom ParkerWindJack Solutionswww.windjack.com

    Type

    Discussions

    Views

    939

    Likes

    0

    Replies

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