since ‎02-03-2012
‎10-12-2019
Staffle
Level 1
Re: Changing the background colour of a tabe cell, according to the selection in a drop down list Staffle - Adobe LiveCycle
Hi Bruce,I checked all the cells with scripts and there is nothing on an exit event.The problem was that the subforms were all called Subform1 instead of 1, 2, 3, 4.So, this code works fine now:if (xfa.event.change=="green") { this.fillColor = "000,128,000";} if (xfa.event.change=="yellow") { this.fillColor = "255,128,000";}if (xfa.event.change=="red") { this.fillColor = "255,000,000"; }Many thanks...all good!!!Lisa
1298
Views
0
Likes
0
Answers
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
Works perfect! Thank you SOOOOOOOOOOO much Bruce!
1116
Views
0
Likes
0
Answers
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
Hi again,The link to the shared folder on my Google drive: PDF formsThe TestTable.pdf propagates to the next page with header row just fine. However, when I apply the same method to the "Bulk IT Request", it does not start a new page at all, let alone the header row. I cannot figure out what's wrong. Please tell me what I am missing.Thanks!Lisa
1110
Views
0
Likes
0
Answers
Re: Changing the background colour of a tabe cell, according to the selection in a drop down list Staffle - Adobe LiveCycle
Hi Bruce,The script in row 1 was sent to me earlier in this discussion by "sp215". I just cut and pasted it, not checking the syntax...not noticing the missing }s.I want to use my script (as in rows 2, 3, 4) and fill the whole cell, not only the border. It works fine until I exit, then every cell defaults back to green.What script do I need on exit event to make it stick?Thank you!Lisa
1289
Views
0
Likes
0
Answers
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
Hi again Bruce,The TestTable.pdf propagates to the next page with header just fine.However, when I apply the same method to the "IT Bulk request" it does not start a new page at all, let alone the header row. I cannot figure out what's wrong. Please tell me what I am missing.Oh, I think this is the correct link to the shared folder on my Google drive: PDF formsThanks!Lisa
1110
Views
0
Likes
0
Answers
Re: Is anyone here or is this a phantom web site. Staffle - Adobe LiveCycle
WHAT a stupid question???
935
Views
0
Likes
0
Answers
Re: Changing the background colour of a tabe cell, according to the selection in a drop down list Staffle - Adobe LiveCycle
Hi,Thank you for your suggestion. Unfortunately, the scripts are not working as hoped.I put the form "Project Status Report_2" in the shared Google folder here: PDF forms.The drop-down list in question is in section "3. Deliverable Status".I added your scripts on enter* and change* to the first row, second column.Rows 2-4 have the script that changes the colour but on exit, every cell defaults back to green. Do you know how I can fix that?Thanks again!Lisa
1282
Views
0
Likes
0
Answers
Re: Changing the background colour of a tabe cell, according to the selection in a drop down list Staffle - Adobe LiveCycle
Hi Bruce,Can you tell me if this is the correct link:https://drive.google.com/folderview?id=0B2VrTxepsjnsUWRGeG9SblZPSTA&usp=sharingThanks!Lisa
1296
Views
0
Likes
0
Answers
Re: Changing the background colour of a tabe cell, according to the selection in a drop down list Staffle - Adobe LiveCycle
please check forums_noreply@adobe.com. I needed an e-mail address to share the folder and that's what I have. If you have an additional address, I'd gladly add it. https://drive.google.com/drive/folders/0B2VrTxepsjnsUWRGeG9SblZPSTAThanks!
1284
Views
0
Likes
0
Answers
Re: Changing the background colour of a tabe cell, according to the selection in a drop down list Staffle - Adobe LiveCycle
Thank you for your patience Bruce!I applied your suggestion but unfortunately, it does not change the colour. I put the form in question Project Status Report on the Google drive:https://drive.google.com/drive/folders/0B2VrTxepsjnsUWRGeG9SblZPSTAThe other two forms in that folder are from an earlier inquiry. The Tabletest works fine but the same approach in the Bulk IT...does not propagate rows to the next page and for the life of me, I cannot figure out why.THX again,Lisa
1284
Views
0
Likes
0
Answers
Changing the background colour of a tabe cell, according to the selection in a drop down list Staffle - Adobe LiveCycle
I have a drop-down list wrapped in a subform in a table cell. Users can pick Green, yellow or red and I want the background colour to change according to their selection.Can you tell me why this script is not working? I am sure some of you folks can see it in a second.if (this.ListItem=="green") {Subform1.DropDownList1.fillColor = "000,128,000"; BackgroundFill="solid";} if (this. ListItem=="yellow") {Subform1.DropDownList1.fillColor = "255,128,000"; }if (this.ListItem=="red") { Subform1.DropDown...
4347
Views
0
Likes
12
Answers and Comments
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
Hi,This works perfectly when I did a table alone in a test form.However when I apply the same method to the IT Bulk request it does not start a new page at all let alone the header row. I cannot figure out what's wrong.Both forms are in the folder https://drive.google.com/drive/folders/0B2VrTxepsjnsUWRGeG9SblZPSTAThanks!Lisa
1111
Views
0
Likes
0
Answers
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
Thank you!The problem was that the subform I wrapped around the table was not already set to "flowed"...
1113
Views
0
Likes
0
Answers
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
this might be the link:https://drive.google.com/drive/folders/0B2VrTxepsjnsUWRGeG9SblZPSTA
1108
Views
0
Likes
0
Answers
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
Hi Bruce,I sent an invitation to forums_noreply@adobe.com to access the folder PDF forms on my Google drive. The file is in there (there is only one file). Please let me know if you can access it because I don't know how to find the "path". I think it works by account ID or something.Thanks,Lisa
1116
Views
0
Likes
0
Answers
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
It is on Google drive, called Bulk IT Request_draft_v0.1.pdfI have "Allow page breaks within content" checked on the table. However, I don't know how to put a table in a flowed container or to check if it is. I think I selected this when I set up the table in the "wizard". I checked "Include Header Row in Subsequent Pages"Thanks and regards,Lisa
1120
Views
0
Likes
0
Answers
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
Yes, pretty much. Sorry I was not very clear.This is the table I was talking about (a bit modifiedIf users add more rows than fit onto the current page, I would like the rows to continue on the next page and carry over the header row (Last Name, First Name, Job, etc.).Thanks!Lisa
1118
Views
0
Likes
0
Answers
Re: propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
Hi Bruce,Sorry I was not very clear. This is the table I was talking about (a bit modified but same method):Here, if users add more rows than fit onto the current page, I would like the rows to continue on the next page and carry over the header row (Last Name, First Name, Job, etc.).Thanks!Lisa
1117
Views
0
Likes
0
Answers
Re: Expandable table Staffle - Adobe LiveCycle
Hi Wynnyne,Sorry, I don't know the answer, to your question but I am trying to find out the exact same thing. How did you get to automatically create a second page and clone the header? I just asked that and hope that with a bit of help from the adobe folks, we can work on a solution...Lisa
695
Views
0
Likes
0
Answers
propagate the table rows to a new page and clone the header row Staffle - Adobe LiveCycle
Hello:At the risk of sounding demanding, I have another question that I am sure one of the form genii can answer no sweatI would like to propagate the table rows to a new page and possibly clone the header row. Would something like (var i = 0; i < xfa.host.numPages; i++)? I don't know the syntax and what to do to pick up the table header. I'd be happy to e-mail the form but cannot attach it here.This is a screen cap. The idea is that clients can add as many rows as they want, adding pages as the...
5725
Views
0
Likes
15
Answers and Comments
Re: Attaching a file to a form...make attached file visible when opening a saved PDF form. Staffle - Adobe LiveCycle
Hi GeniusAgain, thank you very much!It did not occur to me that I had the wrong language. I clicked Correct Answer.At the risk of being too demanding, I have another question and will ask here so that I can attach the form. I would like to propagate the table rows to a new page and possibly clone the header row. Would something like (var i = 0; i < xfa.host.numPages; i++)? I don't know the syntax and what to do to pick up the table header.Thanks!Dumb
1043
Views
0
Likes
0
Answers
Re: Attaching a file to a form...make attached file visible when opening a saved PDF form. Staffle - Adobe LiveCycle
Sorry, I attached it in an e-mail responding to your email in the probst@bell.net inbox.Here it is again:I also attached the whole form but cannot seem to do that here.Thanks!Lisa
1054
Views
0
Likes
0
Answers
Re: Attaching a file to a form...make attached file visible when opening a saved PDF form. Staffle - Adobe LiveCycle
Thank you for the script. Unfortunately I am getting this error message: I don't know why. Could you help again please?I also attached the whole form (just in case).Many thanks!Lisa
1045
Views
0
Likes
0
Answers
Attaching a file to a form...make attached file visible when opening a saved PDF form. Staffle - Adobe LiveCycle
Hi,In the GN (Government of Nunavut, Canada), they do not use the forms in the traditional way (i.e. using a Submit button and piping the XML data into an email attachment). They all have Acrobat Standard and save the entire form and then emailing it to the authority who has to send it to Operations, Project Office, etc. When they attach a file, the attachment panel shows the attachment on the left. However, when they open the saved form, the attachment panel only opens when they click on the pa...
2431
Views
1
Like
6
Answers and Comments
Re: Script for hiding unused pages of a form Staffle - Adobe LiveCycle
Thanks! very helpful
1227
Views
0
Likes
0
Answers
Re: Script for hiding unused pages of a form Staffle - Adobe LiveCycle
Hi Guru!If you could find out why it does not work, that would be much appreciated. I attached the form.Thanks & best regards,Lisa P
1230
Views
0
Likes
0
Answers
Script for hiding unused pages of a form Staffle - Adobe LiveCycle
HiI want to enable the user to hide page 2 of a form if it is not used. This script:if (this.rawValue==0){xfa.resolveNode("page2").presence = "hidden";}else{xfa.resolveNode("page2").presence = "visible";}does not do it although it worked in the past (do I need more than two pages in order to delete one?Could you please tell me wha'ts wrong?Thank you!Lisa
2491
Views
0
Likes
4
Answers and Comments
Re: Delete row in a table Staffle - Adobe LiveCycle
Thanks a mill Magus!Works like a charm !
1209
Views
0
Likes
0
Answers
Delete row in a table Staffle - Adobe LiveCycle
Adding table rows works fine when I use this script: Table.Row1.instanceManager.addInstance(1);When users click Delete, it always deletes the second (and shifts the rest up), no matter what row they want to delete. I have the following script to delete a table row:Table.Row1.instanceManager.removeInstance(1);What do I need to change in order to delete the row that is clicked?
2553
Views
1
Like
3
Answers and Comments
Tool Tip does not show up Staffle - Adobe LiveCycle
Hi:The text I created in the Accessibility tab for the Tool Tip does not show up when I click the field or hover over it. I thought it may behave like the "alt" tag in HTML but does not. Do I need to assign an action for that? If so, please tell me what I have to do. I want the Tool Tip to show up whenever the user goes to a field where a Tool Tip exists. Thank you!Lisa
797
Views
0
Likes
0
Answers and Comments
Likes from