since ‎25-08-2011
‎20-09-2020
DKinsley
Level 2
Clear color code in 18 rows DKinsley - Adobe LiveCycle
I have a table with 18 rows. Each row has a text filed that is shaded a color based on the selection from a drop down field. I want to be able to click a button and return all of the shaded fields back to white (not shaded). This is the script under the change event of the drop down:Signal.border.fill.color.value = "255, 255, 255";//white My table rows are labeledRow[0]Row[1]Row[2]Row[3]etc. to 18 Is there a script to include all and return all border.fill.color.value = "255, 255, 255";//white ?
77
Views
0
Likes
1
Answers and Comments
Script to verify value is in list box DKinsley - Adobe LiveCycle
I don't want the engineer to be able to digitally sign the form unless they have attached a particular check sheet file. I have a list box that displays the file names of all files the user attaches. I need JavaScript that will look for the attachment file name "Supplier Check Sheet" in the list box and if found, then allows the engineer to sign the form. If not found, i will have an error message appear. If you can tell me how to search for the file name in the list box, I can probably do the r...
81
Views
0
Likes
1
Answers and Comments
Betreff: Hidden subform connected to dropdown object DKinsley - Adobe LiveCycle
This works great - thank you
81
Views
0
Likes
0
Comments
Hidden subform connected to dropdown object DKinsley - Adobe LiveCycle
I have a drop-down list object labeled "Question" that contains items: Yes, No, N/AWhen the user selects "Yes" the hidden sub-form becomes visible.That sub-form contains three text-fields.If the user types data into any of these three text fields and then changes their mind and selects either "No" or "N/A" from the drop-down, I want to delete and data that was entered into the text-fields in the sub-form then hide the sub-form. This is the script I am using but when the user is warned they about...
103
Views
0
Likes
2
Answers and Comments
Select item in opened drop-down list based on user entry DKinsley - Adobe LiveCycle
I am using JavaScript to open a drop-down list of names during the enter event.xfa.host.openList("this");When the user enters the first few letters of the person's first name and only one name remains in the list, I want that name to be selected and populate that drop-down field when the user tabs out. I know the user could arrow down to their choice and then tab out but they prefer it to work the way I described. Is there a way to script that when only one item remains displayed and the user ta...
350
Views
0
Likes
0
Answers and Comments
Re: User enters text within a paragraph DKinsley - Adobe LiveCycle
Thank you so much! I will look into that link.
896
Views
0
Likes
0
Answers
Re: User enters text within a paragraph DKinsley - Adobe LiveCycle
Looks great! Thank you
666
Views
0
Likes
0
Answers
Script to change text color set by user using the Form Field Text Properties Bar DKinsley - Adobe LiveCycle
Is there a way to script to change all of the text in a textField back to text color black ("0,0,0") if a user has changed the text color using the Form Field Text Properties Bar? It looks like that is done on a separate layer?I tried this and it does not work:Subform1.UpperSection.font.fill.color.value = "0,0,0";and I tried:Subform1.UpperSection.font.color = "0,0,0";
1143
Views
0
Likes
2
Answers and Comments
User enters text within a paragraph DKinsley - Adobe LiveCycle
Is there a way to create a paragraph where the form user has to enter text within the paragraph itself and the other text following will move/adjust and wrap as needed?Example of what I mean:The undersigned company, [ENTER YOUR COMPANY NAME HERE], organized under the laws of the State of [ENTER THE STATE HERE]., and hereinafter referred to as [ENTER NAME HERE] located at [ENTER STREET ADDRESS HERE] etc... I would like to highlight the areas the customer needs to enter their text into also. I use...
1628
Views
0
Likes
4
Answers and Comments
Re: Script to capture who digitally signed the form DKinsley - Adobe LiveCycle
radzmar,That script works perfect!Thanks so much!-Don
555
Views
0
Likes
0
Answers
Re: Script to capture who digitally signed the form DKinsley - Adobe LiveCycle
Sorry, I had to leave last night.The original string was:Bob Smith (Bob Smith)
520
Views
0
Likes
0
Answers
Re: Script to capture who digitally signed the form DKinsley - Adobe LiveCycle
This is what I get...Firstname LastName <> (FirstName LastName)
522
Views
0
Likes
0
Answers
Re: Script to capture who digitally signed the form DKinsley - Adobe LiveCycle
Thank you for your help with this. It returns the name and email address. Is it possible to get just the name?
524
Views
0
Likes
0
Answers
Script to capture who digitally signed the form DKinsley - Adobe LiveCycle
Is it possible to access the name of the person who digitally signed a LiveCycle form so I can also save that information to the database?
1430
Views
0
Likes
8
Answers and Comments
Script to open attached PDF in a new window DKinsley - Adobe LiveCycle
I have a form that is attached to an instruction page with a button that opens the attached form. The problem is users close the instruction page which in turn closes the form. Is there a script that will open the attached LiveCycle PDF form is a separate window?
325
Views
0
Likes
0
Answers and Comments
Export attached files to Access database DKinsley - Adobe LiveCycle
Is it possible to export files that are attached to a LiveCycle form to an Access database connected to the form?
320
Views
0
Likes
0
Answers and Comments
Re: Select dropdown value using script DKinsley - Adobe LiveCycle
Had to change getSaveItem to getDisplayItem and your script works.Thank you Bruce.
1504
Views
0
Likes
0
Answers
Re: Select dropdown value using script DKinsley - Adobe LiveCycle
I would have to recreate the entire form to pull data from the database to each of the fields necessary. I agree that is how the form should have been created but for now I need to make this work the way it is.So my question remains, using script, I am trying to select a particular number from the dropdown list and have the dropdown exit event run so the script in the dropdown object runs the same way it would run if a user select the number from the list themselves.I have tried script that puts...
1285
Views
0
Likes
0
Answers
Re: Select dropdown value using script DKinsley - Adobe LiveCycle
Sorry, I am not being clear.I can use script to get the value from the database and put it into the dropdown but that does not seem to run the exit event script. Is there script that I can add that will run the exit event after I populate the dropdown?Maybe this isn't possible since I am not selecting from the dropdown list but rather just entering a formattedValue.
1217
Views
0
Likes
0
Answers
Re: Select dropdown value using script DKinsley - Adobe LiveCycle
Yes, I realize that now. I'm still learning LiveCycle (the hard way!)I am able to get the employee number in the dropdown. Is there a way to run the exit event with script after I populate the formattedValue of the dropdown field?
1220
Views
0
Likes
0
Answers
Re: Select dropdown value using script DKinsley - Adobe LiveCycle
Magus069,Thanks for your reply. I am not able to input my dropdown object data. It is a long list of employee numbers copied and pasted into the form. The binding side is a concatenate text field that populates the employee name field and contains other data like their email address.My form is connected to a database. I need to click a button the form with a script that finds an employee number in the database record and then selects that employee number in the dropdown field the same as if a us...
1227
Views
0
Likes
0
Answers
Re: Select dropdown value using script DKinsley - Adobe LiveCycle
Bruce,Thanks for your reply. unfortunately, I cannot get it to work. I created an example form and linked it below if you would be willing to take a look at it. Thanks for your help.- DonShared Files - Acrobat.com
1225
Views
0
Likes
0
Answers
Select dropdown value using script DKinsley - Adobe LiveCycle
How do I select the boundItem of a dropdown object list based on the rawValue of another field?So if the rawValue of TextField1 = 1641how do I select the boundItem 1641 value of my dropdown using script?
6252
Views
0
Likes
11
Answers and Comments
Re: Form Automatic Numbering DKinsley - Adobe LiveCycle
In JavaScript:if (Company.ARnumber.rawValue == null) { var d = new Date(); //divide by 1000 to get seconds and trim decimals Company.ARnumber.rawValue = "AR" + Math.floor(d / 1000) } else {Company.ARnumber.rawValue = Company.ARnumber.rawValue;}
590
Views
0
Likes
0
Answers
Re: Form Automatic Numbering DKinsley - Adobe LiveCycle
Without connecting your form to a database, the form has no way of knowing how many have been created in a particular day. Therefore, the only suggestion I can give you is to use today's date followed by the time formula in this post. The time formula is ten digits long and is a rounded off number but always unique.Good luck!
575
Views
0
Likes
0
Answers
Embed Google Maps or MapQuest into a LiveCycle form DKinsley - Adobe LiveCycle
Is it possible to embed Google Maps Directions or MapQuest directions into a LiveCycle form?I created a Travel Expense report and thought it would be great if users could select their destinations directly in Google Maps/MapQuest in the form itself.
601
Views
0
Likes
1
Answers and Comments
Re: ampersand in text DKinsley - Adobe LiveCycle
Is it also okay to use &&
542
Views
0
Likes
0
Answers
ampersand in text DKinsley - Adobe LiveCycle
How do I use an ampersand (&) in a text script?I cannot use "and" because it is a legal name of a company."Company & Company"
699
Views
0
Likes
2
Answers and Comments
Re: Repeat date same as the repeating row above DKinsley - Adobe LiveCycle
Thank you for your help with this!
521
Views
0
Likes
0
Answers
Likes given to