Expand my Community achievements bar.

GeneveveX
GeneveveX
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • So, I figured out most of it myself. Even though EVERY bit of documentation I see says to reference the fields like this:xfa.resolveNode("OuterSubform.InnerRepeatingSubform[i]");I found that it doesn't know what to do with the brackets, so I have to: .InnerRepeatingSubform["+i+"]");So my final code ...

    Type

    Questions

    Views

    854

    Likes

    0

    Replies

    0
  • I hope this makes sense.I have a drop down box with several values in it. Based on the user's selection, different fields and subforms will either be visible or hidden. To do this, I built a switch statement on the exit event of the drop down box. The statement works great until I start introducing ...

    Type

    Questions

    Views

    2.6K

    Likes

    0

    Replies

    6
  • Let me shore this up a bit and see if I can make it cleaner while trying to answer all of your questions. 1) I am SO sorry, but I don't know of a way to rename the fields automatically from within designer. On all of my forms I have gone down the list and renamed each of the fields individually. The...

    Type

    Questions

    Views

    1.0K

    Likes

    0

    Replies

    0
  • Vjay's solution works great! Essentially, take out all of your other programming on the individual fields, and hard script the field you want the sum to show on. By directly referencing the fields, Adobe is able to tell the difference between one instance and another and doesn't get them mixed up. (...

    Type

    Questions

    Views

    850

    Like

    1

    Replies

    0
  • Okay, I figured it out. First, both tables should be on the first page for ease. Second, all of the subforms (rows/tables, too) must be named separately. Third, the script does not work under initialize--it must be on calculate.Here is the script I ended up using://Placed on the same page, Table2.Ro...

    Type

    Questions

    Views

    1.6K

    Likes

    0

    Replies

    0
  • Alright, I have tried what you suggested and it does not work. I took the global data binding off of the fields, and put your code on them instead. The data is not duplicating to the other fields in the same column now (Good!), but it is also not copying to the second table (Bad!). I thought maybe i...

    Type

    Questions

    Views

    1.5K

    Likes

    0

    Replies

    0
  • I am designing a form that has two tables. The user is supposed to enter their data in the first table, and that data automatically copies to the second table (so when they print the form, they have two copies of the same thing while only having to enter the data once). I created a dynamic input tab...

    Type

    Questions

    Views

    4.7K

    Likes

    0

    Replies

    3
  • That was perfect! Thanks so much!

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    0
  • No. You input values into two other fields. The third field subtracts those values. If the result is a positive number, it simply displays the number. If the result is negative, it displays the number AND shades the background of the field a red color.

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • I made that change to my code. It isn't throwing the error anymore, but it's also not working at all now.The field is now defaulted red, and it has a static value of 255 - it's not changing the value when I enter numbers into the other fields like it should. Here is my code now: //Subtract items to ...

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

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