Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

kingphysh
kingphysh
Offline

Badges

Badges
27

Accepted Solutions

Accepted Solutions
35

Likes Received

Likes Received
41

Posts

Posts
288

Discussions

Discussions
9

Questions

Questions
279

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by kingphysh
Customize the badges you want to showcase on your profile
Global Binding of object instances in corresponding subform instances - Adobe LiveCycle 16-01-2010
OK, let's see if I can describe this effectively. I have:SubformA(0).globalObjectSubformB(0).globalObjectNow, a click of a button creates new instances of SubformA & SubformBSubformA(0).globalObjectSubformA(1).globalObjectSubformB(0).globalObjectSubformB(1).globalObjectThe 4 globalObject are all the same--global.However, I want the new globalObject in each new subform of to be global with one another--not to the original globalObject.The desired effect would be like renaming the new globalObject...

Views

515

Likes

0

Replies

1
Re: Creating a field/button that increments displayed with each click - Adobe LiveCycle 01-01-2010
Thanks Niall,Your example helped a lot! I did some playing around with it and finally figured something out. I was able to use your suggestion to build a solution that worked--however, I was not happy with it--too bulky and not robust.I decided to assign a global variable for the limit value (since this special button will be used all over the form) . The following script works://javaScript if (this.caption.value.text.value < lossPayees.value) { if (this.caption.value.text.value == "0") { this.c...

Views

166

Likes

0

Replies

0
Creating a field/button that increments displayed with each click - Adobe LiveCycle 31-12-2009
I would like to have a field or a button caption change in response to the user mouse click. The caption or value to be displayed would be an integer increasing +1 with each mouse click--until a limit is reached (the limit is a _subform.count of a subform that is not a parent of this object I'm trying to script). Then, reaching the limit, it would reset to 0 and start incrementing with each click, all over again.So basically, this would be a button that has the caption 0 Click it, the caption ch...

Views

1.1K

Likes

0

Replies

3
Re: Resetting all data, instances & presence properties in the form - Adobe LiveCycle 27-09-2009
One more thing... I am trying to understand what a script that loops through the entire form without using the node names would look like (I imagine it uses a resolveNodes method). I could put a script in the "Initialize" event for each node that sets the default instances and presence properties for that node and then trigger that event with a loop.

Views

121

Likes

0

Replies

0
Re: Resetting all data, instances & presence properties in the form - Adobe LiveCycle 27-09-2009
Hi Niall,Your answer does give me something to think about, but doesn't solve the problem. The form has many subforms that can have multiple instances and within them there are tables with rows that can also have multiple instances. And, there are interactive "presence" properties on many of those subforms and there are interactive "presence" properties on many other non-repeating fields and subforms. In other words, its complex.The simplest thing I can think of is to close the form without savi...

Views

121

Likes

0

Replies

0
Resetting all data, instances & presence properties in the form - Adobe LiveCycle 26-09-2009
I have a form that needs to be completely reset on occasion. By "reset" I mean more than just clearing data--I would like to see added instances of reoccurring table rows and subforms reset to the original number of instances, as well as, the "presence" properties reset so that hidden subforms that have been revealed, will be made hidden again.xfa.host.resetData(); just clears the data on my form but leaves the instances and presence property as they are. I've looked at the "restoreState" proper...

Views

887

Likes

0

Replies

4
Re: Triggering "exit" event of a drop-down list in all instances of a table row - Adobe LiveCycle 26-09-2009
PERFECT!!! Works right out of the box!This has opened my eyes to the essential nature of loops. My form is very large and complex and functions correctly, Yet the coding is lacking in sophistication--no loops, functions, fragments or other code efficiencies. I am teaching myself (with the help here) and I have skipped learning and using some techniques when I could things to work using the limited skill set I have.Sometimes, I just don't "get it". After I fail a few times, I skip it and try some...

Views

179

Likes

0

Replies

0
Triggering "exit" event of a drop-down list in all instances of a table row - Adobe LiveCycle 26-09-2009
I have a drop-down list in a table row with multiple instances that performs a calculation on the exit event. This calculation draws information from 2 other dropdown lists contained above in non-repeating rows of the same table.The desired behavior is: should the user change their choices above, all instances of the drop-down list below would perform the "Exit" event script accessing the new values above.My script is:RowOptionalCoverage.DdlCoverageType.execEvent("exit"); this works, sort ofIt o...

Views

1.2K

Likes

0

Replies

2
Associative Array, Drp-DwnList and Accesing "SubArray" Values ? - Adobe LiveCycle 27-08-2009
Based on the users selection on a drop-down box, I need to be able to access different elements associated with that selection (elements of a subArray, so to speak)I am not certain how to go about creating arrays in LiveCycle. I've tried a number of things including: putting the array name in the "variables tab" of the Form Properties, with a value of [] -- that doesn't seen to be the way to go, so I removed itusing rounded brackets ( instead of square [declaring the arrays differently using var...

Views

1.2K

Likes

0

Replies

1
Re: How to Use Switch Statement with Exclusion Group (radio buttons)? - Adobe LiveCycle 02-08-2009
Hi Niall,I very much appreciate your efforts here, and I have gleaned some insight from your suggestions.Now that I understand that be have to get the calculate event to execute, I modified your approach somewhat. Instead of specifying individual fields to execute calculate, I have the entire form do it using:form1.execEvent("calculate");after the switch statement. It works! (granted this might cause some problems for me later on and I may have to be more specific)I am not sure why it is necessa...

Views

594

Likes

0

Replies

0