since ‎11-12-2009
‎10-12-2019
mouslander
Level 4
Re: Copy table values to new instance of table
Avatar

mouslander

mouslander
- Adobe LiveCycle
If your table rows need to be individually set then yes that will make it a bit harder but you can still do the same loop a row at a time. Your loop will iterate through each field in the row

Views

376

Likes

0

Replies

0
Re: Copy table values to new instance of table
Avatar

mouslander

mouslander
- Adobe LiveCycle
That should not matter. Ultimately you are taking table1, row1, column1 and moving it to table2, row2, column2. the only thing you will need to do is to loop through the list so that you replace the numbering table[1] row[1] column[1] to table[2] row[2] column[2]

Views

381

Likes

0

Replies

0
Re: livecycle add and remove row table
Avatar

mouslander

mouslander
- Adobe LiveCycle
mousland@gmail.com

Views

372

Likes

0

Replies

0
Re: Copy table values to new instance of table
Avatar

mouslander

mouslander
- Adobe LiveCycle
I think I figured out how to do it. I do not have all the mechanics of it but I think it can work. What you need to do is remove rows 2-9. Have only 1 row but in the binding tab tell LCD to make that 9 instances. LCD will create a row[0] .. row[8] then set the field names across to something like assetClass for each of the fields so your field names would be assetClass[0].. assetClass[9]now all you have to do is a loop to iterate through the field name and replace a var i for example with the nu...

Views

378

Likes

0

Replies

0
Re: livecycle add and remove row table
Avatar

mouslander

mouslander
- Adobe LiveCycle
Send your file and I will look at it.

Views

366

Likes

0

Replies

0
Re: Copy table values to new instance of table
Avatar

mouslander

mouslander
- Adobe LiveCycle
is it possible to send me the file? mousland@gmail.com

Views

376

Likes

0

Replies

0
Re: Copy table values to new instance of table
Avatar

mouslander

mouslander
- Adobe LiveCycle
I was able to get it working with the following. Right now there is no condition like you have in your script so mine replicates for each click.var i = this.parent.index xfa.resolveNode("form1.#subform.Table1.Row1[" +(i+1) + "].Name").rawValue = xfa.resolveNode("form1.#subform.Table1.Row1").Name.rawValue

Views

376

Likes

0

Replies

0
Re: Copy table values to new instance of table
Avatar

mouslander

mouslander
- Adobe LiveCycle
I did a basic test and was able to get it to work using the following simple script:xfa.resolveNode("form1.#subform.Table1.Row1[1].Name").rawValue = xfa.resolveNode("form1.#subform.Table1.Row1").Name.rawValueYou will need to get the index of the row you want to copy and then you would need to programmatically replace the number inside the [ ] with the correct index number. You probably also want to create a loop to go through all the fields on that row and pull them over. if it is just a couple ...

Views

366

Likes

0

Replies

0
Re: Copy table values to new instance of table
Avatar

mouslander

mouslander
- Adobe LiveCycle
I am trying to figure that out. You had also asked about inserting a row and I was providing that info for you.

Views

374

Likes

0

Replies

0
Re: Copy table values to new instance of table
Avatar

mouslander

mouslander
- Adobe LiveCycle
This is an interesting problem. I am looking at it now. For adding and instance you would need to use:Table1.Row1.instanceManager.insertInstance. You will need to get the index number and determine where to insert. I am attaching a link to a good blog on the topic.

Views

381

Likes

0

Replies

0
Re: Multiple Versions of Reader and Acrobat on Same Computer
Avatar

mouslander

mouslander
- Adobe LiveCycle
I used to be possible to have multiple versions of Reader on one machine but not Acrobat at least on not on a PC. I am not sure if you still can install multiple versions of Reader. The only other way to do it would be with a virtual machine but that is complex to set up

Views

458

Likes

0

Replies

0
Re: still can't get a wet signature using stylus.
Avatar

mouslander

mouslander
- Adobe LiveCycle
if by a wet signature you mean on a signature pad then the answer is yes you can. There are several partners that provide this functionality. Here is a url that should help you. Using a signature pad to sign a PDF

Views

293

Likes

0

Replies

0
Re: Simple? Allow page breaks, but don't break a captioned text field to begin with.
Avatar

mouslander

mouslander
- Adobe LiveCycle
If I understand this correctly then it should be pretty easy. On the subform you want to uncheck the box that says: Allow Page Breaks Within Content. this can be found within the Object Subform dialog box What should happen is that when you get to the bottom of the page that subform will push to the next page however it should flow over pages if it goes the full length of the page. Let me know if that works for you

Views

248

Likes

0

Replies

0
Re: Simple? Allow page breaks, but don't break a captioned text field to begin with.
Avatar

mouslander

mouslander
- Adobe LiveCycle
I have read this a couple times but I am not sure I fully understand what you are asking for. Let me see if I have this correct. You have fields that expand but you would prefer that a field not break essentially near the top. you would prefer that the field move to the top of the next page then continue from there. If the field is large and spans the page that is fine it can break/flow across that page? does that get it right?

Views

242

Likes

0

Replies

0
Re: PDF Preview is unavailable
Avatar

mouslander

mouslander
- Adobe LiveCycle
if it is working I would not worry about it.

Views

553

Likes

0

Replies

0
Re: PDF Preview is unavailable
Avatar

mouslander

mouslander
- Adobe LiveCycle
Unfortunately I do not. that was some time ago. I recall going through with a search for LiveCycle or something similar. this was a few years back with older versions of LCD and Acrobat. Since then I have not had any issus

Views

509

Likes

0

Replies

0
Re: Concatenating an entire dynamic table! Help please!?
Avatar

mouslander

mouslander
- Adobe LiveCycle
I do not think this is working and I have had this file crash LCD for me several times with a Runtime error. Not sure what is going on.

Views

311

Likes

0

Replies

0
Re: PDF Preview is unavailable
Avatar

mouslander

mouslander
- Adobe LiveCycle
I have had this problem in the past. It has happened when I updated LCD an then for some reason the link to Acrobat gets broken. The only way to resolve this that I am aware of is to Uninstall LCD and Acrobat and reinstall both starting with Acrobat. That still may not resolve the issue. When this happened to me I had to edit the registry, something I would recommend against unless you are very familiar with it.

Views

517

Like

1

Replies

0
Re: Using switch statement in a dropdown
Avatar

mouslander

mouslander
- Adobe LiveCycle
Just out of curiosity have you tried adding just an 8th. I have run init similar situations where I had a syntax error a a particular spot and things did not work beyond that point.

Views

297

Like

1

Replies

0
Re: Assistance with javascript
Avatar

mouslander

mouslander
- Adobe LiveCycle
On the click event of the button you would put:Picture.presence = "hidden" that should be all you need. If the picture is wrapped in a subform and you want to hide the subform they you would change the reference from Picture or whatever your field is. Based on your hierarchy it looks like it would be:Details.presence = "hidden"

Views

158

Likes

0

Replies

0
Re: adobe livecycle pdf form
Avatar

mouslander

mouslander
- Adobe LiveCycle
Remember that apple, orange etc are literals so if they are not entered exactly as typed it will not work. You can do this better with a drop-list where a user picks from the list and then gets a result. For example if you wanted a drop down list of fruit for example apple, orange, grapes, etc. When the user picks this the field would have corresponding info in the next field. Maybe color so pick Apple get Red

Views

320

Likes

0

Replies

0
Re: adobe livecycle pdf form
Avatar

mouslander

mouslander
- Adobe LiveCycle
Sorry my mistake. Here is the corrected code. you only need this on the first field. I had excluded the .rawValueif(this.rawValue == "apple"){fieldB.rawValue = "Orange"}elseif(this.rawValue == "water melon"){fieldB.rawValue = "coconut"}

Views

273

Likes

0

Replies

0
Re: adobe livecycle pdf form
Avatar

mouslander

mouslander
- Adobe LiveCycle
I cannot get to dropbox due to security on my machine. Please send it to my email at mousland@gmail.com

Views

261

Likes

0

Replies

0
Re: adobe livecycle pdf form
Avatar

mouslander

mouslander
- Adobe LiveCycle
so this gets a bit more complex but still fairly easyOn the exit event you would write:if(this.rawValue == "apple"){fieldB = "Orange"}elseif(this.rawValue == "water melon"){fieldB = "coconut"}this is fine for a couple items. You may need to consider another mechanism if you are going to have to manage a more complex list.

Views

269

Likes

0

Replies

0
Re: adobe livecycle pdf form
Avatar

mouslander

mouslander
- Adobe LiveCycle
ok. then the script you could use would be similarSo if you want this to occur after the first field has a value you would put this on the exit event for the first field.fieldB.rawValue = "Mango"What will happen is upon leaving the first field the script will run and populate the second field with Mango

Views

271

Likes

0

Replies

0
Re: adobe livecycle pdf form
Avatar

mouslander

mouslander
- Adobe LiveCycle
if you have the 2 fields fieldA and fieldB and you want fieldB to get a value from fieldA and add to it you would write something like this on fieldBthis.rawValue = fieldA.rawValue + 9;Note: this will only work this way if fieldA and fieldB are numerical fields if not use the followingthis.rawValue = Number(fieldA.rawValue) + 9;

Views

273

Likes

0

Replies

0
Re: Calculation of numerical cells
Avatar

mouslander

mouslander
- Adobe LiveCycle
I do not believe this will work the way you have it. The reason is that you have named the Rows Row1, Row2 etc. If you want to use the sample code then you will have to change the Rows to just "Row" or "Rows". When LCD sees this it will create a unique identifier i.e. Row[0], Row[1].

Views

532

Like

1

Replies

0
Re: How to submit an email with a header/footer in the body of the email?
Avatar

mouslander

mouslander
- Adobe LiveCycle
You can put info into the body of the email but you are limited on formatting it. Here is a post from Stefan Cameron with sample that I think will really help you. http://forms.stefcameron.com/2008/08/28/submitting-form-data-by-email/

Views

206

Likes

0

Replies

0
Re: How to submit an email with a header/footer in the body of the email?
Avatar

mouslander

mouslander
- Adobe LiveCycle
Can you explain what you mean by a standard footer/header in the email? What would it look like?

Views

209

Likes

0

Replies

0
Re: going back to a page/section previously viewed
Avatar

mouslander

mouslander
- Adobe LiveCycle
I think that is how most of us learn on here. There is a way it can be done. When you get back to it let me know and I will see if I can help you out.

Views

300

Likes

0

Replies

0
Likes given to