since ‎14-07-2009
‎10-12-2019
Jodi1725
Level 2
Re: repeating subform creates new subform each time doc is saved and reopened
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
FOUND IT! I had the same subform twice! I had hidden one and then when the user decided they wanted it, I copied one over. Thanks for the help guys!Jodi

Views

852

Like

1

Replies

0
Re: repeating subform creates new subform each time doc is saved and reopened
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
I am going to double check the names. I dont think i have any dups but you never know. It could be a corrupted subform but not sure I will keep digging.Thank you so much for your help!Jodi

Views

624

Likes

0

Replies

0
Re: repeating subform creates new subform each time doc is saved and reopened
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Thanks Minus Zero ! That was one of the first things I checked. I am not sure if something isnt corrupted in a subform?I will keep digging !Thanks again!

Views

619

Likes

0

Replies

0
repeating subform creates new subform each time doc is saved and reopened
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
This has me stumped! I have a doc where I have a subform repeat if you click a button. When the form is saved to reader every time you open the form it ads another one of these subforms. It doesnt happen with other subforms in the form, just this one. It is almost like this one subform is resetting each time you open the form?But i cannot find where any of the subforms are set up differently?any ideas?Thanks in advance! Jodi

Views

1.6K

Likes

2

Replies

5
Re: Javascript not executing in right order
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Still doesnt work. the only reason for the condition was so that maybe it would prevent the email from happening before hiding the other fields. So I removed the conditions and put the newButton.ExecEvent("click') at the end of all the hiding conditions and it still fires before it hides the fields.

Views

434

Likes

0

Replies

0
Re: Javascript not executing in right order
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
This is my actual script. (the above was just an example for ease) even when adding semi colons It still emails first and then hides the fields. I even added the emailme, thinking that it would have to go through those steps first to get to the email me, but still no luck . if (errorcount == 0) {Main.Type.presence = "hidden";{var tables = Main.GIKDetails.Donor.all;for (j = 0; j < tables.length; j++){if (tables.item(j).NewAdd.rawValue == "0"){tables.item(j).NewAdd.presence = "hidden"};if (tables....

Views

431

Likes

0

Replies

0
Re: Javascript not executing in right order
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
i am still looking for an answer to this question if anyone has any ideas Thanks!Jodi

Views

427

Likes

0

Replies

0
Re: Looping through cell in table
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hey Bruce!I actually figured it out! I used Loop Through Subform Instances and used this code.expenseReport.#subform[0].validate2::click – (JavaScript, client) var vItems = expenses.expense.all; for(i=0; i

Views

1.2K

Likes

0

Replies

0
Re: javascript for blank field validation on repeating subforms
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
I used this codeexpenseReport.#subform[0].validate2::click – (JavaScript, client) var vItems = expenses.expense.all; for(i=0; i

Views

502

Like

1

Replies

0
Re: Looping through cell in table
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hey Bruce!Long time no talk! Hope you are doing well! I have another repeating issue that I can't get to work I once again am trying to validate through a repeating subform, but this is just the subform. I have tried to manipulate the different code you sent me but I am just getting validation on the first subform not the repeated ones. What am I missing?Thank you for all your help!JodiGift Transmital Form_2.pdf - Google Drive

Views

1.2K

Likes

0

Replies

0
javascript for blank field validation on repeating subforms
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hello All!I have a form with repeating subforms. You click a button and a second(or third)instance of a subform is generated.I need to create javascript on a print button that verifies certain fields on each subform is filled in (name address, etc)I found this doc Loop Through Subform Instances that shows me how to loop thorough the subform and I can make it work for 1 field, but i have more than one field to validate. Any idea how to write the javascript that can run through multiple fields on ...

Views

756

Like

1

Replies

3
Re: Loop Through Subform Instances
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hey all! The blog was extremely helpful! Does anyone know how to loop through more than one field in a subform? I am trying to create code where we check for multiple empty fields, looping through the subforms. Any ideas?Thanks!Jodi

Views

397

Likes

0

Replies

0
Re: Adding instance with dropdown values of previous instance
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
YES! That did it! I used the first example you gave me. Thanks you so much Magus for the help!!!Have a great weekend!Jodi

Views

692

Likes

0

Replies

0
Re: Adding instance with dropdown values of previous instance
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hi Magus!The code that I entered above wasn't working on the click event of the button that adds the additional instance.So what I did was on the drop down list I tried the following on both the initialize and the enter event, and it still doesn't work.if (Main.Campus.Urbana.rawValue == "1") Main.PreApproved.Awardees.Table1.Row1.AwardType.rawValue = "";Main.PreApproved.Awardees.Table1.Row1.AwardType.clearItems();Main.PreApproved.Awardees.Table1.Row1.AwardType.addItem("Excellence in Faculty Mento...

Views

545

Likes

0

Replies

0
Re: Adding instance with dropdown values of previous instance
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Which Initialize would I put it on? For the button that creates the additional instance of the subform?Currently on the click even of the button I have thisAwardees.instanceManager.addInstance(1).presence = "visible";I have tried to add an if statement after that saying if (Main.Campus.Urbana.rawValue == "1") {Main.PreApproved.Awardees.Table1.Row1.AwardType.rawValue = "";Main.PreApproved.Awardees.Table1.Row1.AwardType.clearItems();Main.PreApproved.Awardees.Table1.Row1.AwardType.addItem("Excellen...

Views

544

Likes

0

Replies

0
Adding instance with dropdown values of previous instance
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
HI All!Need some help with some javascript. I have a form that has a radio button B that when you select it, shows a subform. Inside the subform is a table that has a dropdown list. The drop down list is populated based on a previous radio button A that was selected, and is a subset of possible values.The user is able to click a button to create an additional instance of the subform. Problem is the new instance is in the original version of the subform, and the drop down list does not have the s...

Views

1.4K

Likes

0

Replies

6
Re: Looping through cell in table
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hey Bruce!You are awesome! What it is supposed to do is check the Fund field for each person that is added. If any one of the people have a fund that has a 4 or 5 as the first number, then the whole form needs to be sent to the grants and contracts office first for approval. when Grants and contracts approves it they will then sent to Payroll.If none of the fund fields have a 4 or 5 then the form goes directly to payroll.Right now it seems to want to send an email for each of the form fields, vs...

Views

1.2K

Likes

0

Replies

0
Re: Looping through cell in table
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hi Bruce! I know it has been a long time but things around here don't always move fast I am finally trying to put in this looping through subforms but I am not having much luck. I have uploaded the doc to google docs. Here is the link. If you can help that would be awesome! Thank you!JodiAwardPaymentAuthorization12_2015_2_workingcopy.pdf - Google Drive

Views

1.2K

Likes

0

Replies

0
Re: Looping through cell in table
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hey Bruce,Since you were so helpful last time. Do you know how you would loop through the subform that the table is in? I have a button that duplicates the subform so the users can add additional information. So I need to look through each duplicated subform and also check the cell in the row.Any ideas?if you need more info let me know Jodi

Views

1.2K

Likes

0

Replies

0
missing javascript
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hey All!Happy Holidays!I am having an issue with Javascript. I will need to send my form to the lucky person who decides to tackle this.I have a radio button labled Springfield in my form. If you look at the script editor there is nothing showing in the javascript field.If you preview the form and click the button, it show verbiage as if there is. I am afraid someone is going to tell me the form is corrupted But if someone can look at it and let me know if I am missing something or if I am going...

Views

512

Likes

0

Replies

1
Re: Livecycle Preview PDF and Adobe Reader DC
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
I have Acrobat Pro and Reader DC. I ended up removing Reader DC and went back to the last version of Reader. It now works fine.

Views

435

Likes

0

Replies

0
Re: Looping through cell in table
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hey Bruce,Since you were so helpful last time. Do you know how you would loop through the subform that the table is in? I have a button that duplicates the subform so the users can add additional information. So I need to look through each duplicated subform and also check the cell in the row.Any ideas?if you need more info let me know Jodi

Views

1.2K

Likes

0

Replies

0
Livecycle Preview PDF and Adobe Reader DC
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
I just downloaded Adobe Reader DC because i had a user having issues opening one of my livecycle forms using DC. (weird I had to resave the form as reader extended and then it worked, anyway). Now I can no longer use Preview PDF in Livecycle?Anyone else have that issue or heard of it?Thanks!Jodi

Views

703

Likes

0

Replies

2
Re: Looping through cell in table
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Bruce you are the man!!! It worked!Thank you so much for the help!Have a great Thanksgiving!Jodi

Views

1.2K

Likes

0

Replies

0
Re: Looping through cell in table
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Awesome! Thank you Bruce! I will try it tomorrow (too many meetings today ) When I was lookoing at the Javascript I would get confused byt the (var i = 1; i< rows.lenght; i++) part. I never understood how to to it or what it meant. Thank you again!I will let you know how it goes!Jodi

Views

1.2K

Likes

0

Replies

0
Looping through cell in table
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hi all!I have been digging but can't find my answer. I have a table that you can add rows to. In the same cell in each row I have to validate if the number in the field starts with a 4 or 5 ( the number is a total of 6 digits long). I have java script that validates the 4 or 5. but I need to loop through all the rows for that cell. Right now just validates on the first row. Help!Thank you!Jodivar Grant = Main.PreApproved.Table1.Row1.Fund.rawValue var GrantFund = Grant.charAt(0)if (GrantFund == 4...

Views

3.8K

Likes

0

Replies

12
Yahoo email not working with PDF email button
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hey all!I have a form where i have attached a email button. When you clicke the button you get the box from Adobe that asks "how would you like to send this email".If you choose Use Webmail and choose Yahoo. Follow the steps and all. Not thing happens in Yahoo email. When I try this using Gmail I get a popup that says "We are about to create a message in the designated drafts folder of emaill acount. Do you want to continue" And then I get the email draft in the gmail account.When I do it with Y...

Views

477

Likes

0

Replies

1
Javascript not executing in right order
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
Hey my great javascript buddies!!! Okay So I have the following script on a click event: var oDoc = event.target Initial.presence = "hidden"Printinfo.presence = "visible"oDoc.mailDoc ({ bUI:true, cTo: Name.rawvalue cSubject: Hello }); Why when I click the button does the email send first and then the field hide and become visible. I need them to hide/visible before the form is emailed. What is even more weird is that sometimes it works find and other times it doesn't. And I can't for the life of...

Views

1.1K

Likes

0

Replies

6
Re: Metadata in LiveCycle
Avatar

Jodi1725

Jodi1725
- Adobe LiveCycle
This is a much easier was to set the metadata.LiveCycle Blog: Gesperrte PDF-Eigenschaften in XFA-Formularen ändern//Edit locked PDF properties in XFA forms

Views

414

Likes

0

Replies

0
Likes from