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
BedrockMission!

Learn More

View all

Sign in to view all badges

lpianwi
Community profile lpianwi Level 2
Job title here
Location here
3 BADGES
Level 2

Level 2

Learn more
Joined the community 31-12-2009 11:03:22 AM
Offline
Top badges earned by lpianwi
Customize the badges you want to showcase on your profile
How can I make a signature field value on page 1 repeat on second and third pages of my form
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Hi all,I am designing a form; it has a signature field that when it is signed on the first page, should repeat on the second and third pages.I have a signature field on page1, and textfields, named textfield2, and textfield3, on pages 2, and 3. The following is the codes I have on Change event, but it is not working;try{ var getSigField = event.target.getField("form1[0].Page1[0].signature_BUTTON1[0]"); var oState =getSigField.signatureValidate(); // Get the current field's signed state. if (oSta...

Views

833

Like

1

Replies

1
How can I make an object print a yellow color on print out?
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Hi All,I have a form that I am currently working on. The check boxes are grey color on screen, but should print yellow color on printout.I wrote the following script on the Preprint event.form1.Page2.Marginalchbx.fillColor = "255, 255, 0";This is not working, and I do not know why it is not. Is there someone out there that can helpout. I greatly appreciate it.ThanksTammy

Views

497

Likes

0

Replies

2
Issue with Signature fields
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Dear All,I have 3 signature fields on a form that I have just completed. Each of this signature locks each section of the form, but whenever one of this signatures are signed, it shows a message that reads, "Atleast one of the signatures is invalid". I then unchecked the locked all fields check boxes of all 3 variables fields that controlled the fields that need to be locked, and the invalid signatures disappeared, however, the three sections need to be locked when each signature is clicked on. ...

Views

402

Likes

0

Replies

0
Having issue with making a script I had written works okay
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Dear All,I am working on a form, that requires the Signature fields to be "readOnly", unless the two fields fields before it are completed. If the fields are not completed it should show a message, but if these fields are completed no message should show.I wrote the following script and put on the on enter event of the Signature field, but it does not work well.var v;if(form1.Page1.Reviewerssignat.rawValue ==null){ Reviewerssignat.access="readOnly"; v=xfa.host.messageBox("Please Complete Supervi...

Views

472

Likes

0

Replies

1
Re: Adding and deleting an attachment gets disabled once the document is signed.
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Thanks, but it does not work.

Views

429

Likes

0

Replies

0
Adding and deleting an attachment gets disabled once the document is signed.
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good morning All,I have a problem with signed signature. I noticed that Adding and deleting an attachment gets disabled once the document is signed. What is a work around, so, that documents could still be added after it has been signed.Indeed, I added the following piece of code on the click event on the Signature field, but it does not work.app.execMenuItem("AddFileAttachment");ThanksTammy

Views

716

Likes

0

Replies

3
Why is my code not working?
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
@Hi,I am having problem why the else part of this script is notworking. Is there something I am doing wrong. See code below placed on Clickevent.if((CB3.fillColor ="125,125,125") &&(CB5.rawValue=="1")){ CB6.rawValue=0; xfa.host.messageBox("This report is inconsistent, the Rater and Senior Rater have stated different opinions on the promotion potential of this Soldier. The Reviewer should discuss the assessment differences between the Rater and Senior Rater. If both rating officials elect to leav...

Views

451

Likes

0

Replies

1
I have 5 yes checkboxes and 5 No checkboxes. If any No is selected. a field is turn grey, even if 4 Yes checkboxes is selected. How would the script be?
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Hi,I wrote the following script but it does not work:if((form1.Page1.CBox1.rawValue==1||form1.Page1.CBox2.rawValue==1||form1.Page1.CBox3.rawValue==1||form1.Page1.CBox4.rawValue==1 || form1.Page1.CBox5.rawValue==1) && (form1.Page1.CBoxNo1.rawValue!=1)){ form1.Page1.CheBoxfield.fillColor = "125,125,125";}The above is just one condition, and it does not work. I do not know why it does work. Please users help.ThanksTammy

Views

489

Likes

0

Replies

2
Needs help with my date validation script
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
I have date field in my form I am working on, and when the date picker is used, it works fine with the date format as YYYYMMDD. However, when it is manually entered wrong, it only pops up the error message, but tabs to the next field. Is there a script that will set the focus back to the field, and only tabs out of it when the user input is incorrect. I wrote the below script, but it is not working, and I do not know why it is not. Create a date() for parsing information. var sDate = Date.rawVal...

Views

1.3K

Likes

0

Replies

1
Re: How can the background of a listbox be set to non transparency
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Thanks, it was very helpful.

Views

372

Likes

0

Replies

0
Re: How can the background of a listbox be set to non transparency
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good morning all. I am sure I may have not explained myself well. I have the following code which when a drop down list is clicked opens a listbox with items. When these items are selected it passes values to the drop down list. This all work OK. However, the problem is that when this listbox becomes visible, the objects on the form are visible through the items. Here is the code:on Click event: ListBox1.presence="visible";xfa.host.openList(form1.Page1.ListBox1); ListBox1.h="3.50";ListBox1.w="2....

Views

375

Likes

0

Replies

0
How can the background of a listbox be set to non transparency
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good morning all. I have a couple of listboxes on a form I am working on, and it works perfectly, however, each time it opens up, it is so transparent that you see other objects on the form through the items within the listboxes. It confuses the end-users on what the listed items are and which are the fields on the form.I was just wondering if there is something or setting/script that will set the background such that it will act like that of the drop down list.Thanksv/rTammy

Views

1.1K

Likes

0

Replies

4
Re: Clearing Signature field
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Thanks all, I finally got it to work. I added the following piece of code xfa.host.resetData("xfa.form.form1.Page1.COUNSELING_DATE_INITIAL5");in place of xfa.event.reset("form1.Page1.COUNSELING_DATE_INITIAL5");and it works perfectly.

Views

351

Likes

0

Replies

0
Clearing Signature field
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good morning all. I am trying to get a signature field, "COUNSELING_DATE_INITIAL5", cleared when No is selected. Below is the javascript I have written, but it is not working. var question = xfa.host.messageBox("If you have an Entry Card to digitally sign this field, please select Yes. If not, please select No, complete the form, print, manually signe.\n\n", "Question?", 3,2); if (question==3){ form1.Page1.COUNSELING_DATE_INITIAL5.access ="readOnly"; form1.Page1.COUNSELING_DATE_INITIAL5.rawValue...

Views

635

Likes

0

Replies

1
Why is this code not working?
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good day all. I have written to following code on a signature field, that will only work if the user has an access to the building. It works fine, but if the question was true, and the user changes his/her mind to say No, it does not work. This code is on mousedown event. I would like to clear the signD which is a signature field whenever No button is selected. Here is the code: var question = xfa.host.messageBox("If you have an Access ID Card to sign this field, please select Yes. If not, pleas...

Views

481

Likes

0

Replies

0
Problem setting maximum characters for a date field.
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good morning all. I am trying to ensure that a date field on the form I am working on validates if the entry is not more than 8 digits, and if it is more, it should display a message, and return the focus back to the field until it is correct. Below is the code I wrote but it is not working: if(DATE1.length>"8"){ xfa.host.messageBox(Enter eight digits for the date in the format YYYYMMDD or use the drop down calendar.);xfa.host.setFocus("form1.Page1.DATE1"); } I do not know why it is not working,...

Views

712

Likes

0

Replies

2
Probelm with converting a field to uppercase
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Hi All,I am having problem with making the following code work. It is only when a value equivalent to 25 in the drop down is selected that the entry is converted to uppercase. I have the following code on the Change event.On Change Event: if (RankdrpdwnList1.rawValue==25){ xfa.event.change = xfa.event.change.toUpperCase();}Please, I need help with this code.Thanksv/rTammy

Views

961

Likes

0

Replies

2
Problem with listbox
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good afternoon all, I am having problem with the following code. I have 3 items in a listbox. This code should populate the drop down list depending on what is selected in the list box. It is however, not working. Please I need help with the code below,On calculate event;If(Listbox1.rawValue==1){ DropDownList1.rawValue="P";}else if (Listbox1.rawValue="2"){ DropDownList1.rawValue="J" }else if (Listbox1.rawValue="3"){ DropDownList1.rawValue="H" }else if (Listbox1.rawValue="4"){ DropDownList1.rawVa...

Views

991

Likes

0

Replies

3
Re: Problem with drop down list
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Thanks a lot.

Views

646

Likes

0

Replies

0
Problem with drop down list
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good afternoon all, I am having problem with the following code. I have 3 items in a drop down list, which should only allows custom entry if only "other" which is the item values of 3 is selected from the drop down. The code works okay for every other items, and will clear the drop down list, but does not allow the user to enter/type in other values. I need it to allow the user to be able to enter other value if item 3 is selected.Please I need help with the code below,On Exit event; if (DropDo...

Views

1.1K

Likes

0

Replies

2
Re: Concatenating the initials of names from last, first and middle initials from one field name.
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Thanks a lot Vjay, you saved my day!

Views

580

Likes

0

Replies

0
Re: Concatenating the initials of names from last, first and middle initials from one field name.
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Hi All,I wrote the following script to see if it will extract the first character of the Lastname in Rater-Name. var psny=xfa[0].form[0].form1[0].page1[0].Rater_Name[0].rawValue;form1[0].Page1[0].RaterInitial[0].rawValue=Substr(psny, 1, 1 );It actually extract the first character of the input, however, I do not know how to add the search for the next words which will be the first name, and middle name, and also add to the code for it to rextract their first characters.I need help with this.Thank...

Views

551

Likes

0

Replies

0
Re: Concatenating the initials of names from last, first and middle initials from one field name.
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Vjay,Good morning, and thank you for the code. It is not working right.Are you assuming that there are 3 different fields called Lastname, Firstname, and Middlename? There is only one field called Rater_Name, which should have a last name, first name, and middle name entered into it. This Rater_Name entered should concatenate into an initial field called RaterInitial.I was thinking that since there are no distinct fields, that a script that will concatenate the first character of any words enter...

Views

547

Likes

0

Replies

0
Concatenating the initials of names from last, first and middle initials from one field name.
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Hi All,Good day. Please I am having problem writing script to cocatenate the first letter of the last name, first letter of the first name, and the middle initial from a name field.Is there an example I can use. Thanksv/rTammy

Views

3.3K

Likes

0

Replies

5
Re: Can one assign a numerical value to a variable?
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good morning Jono, and thank you. Actually, SSK and SGT were values assigned to Sergeant, and Senior Sergeant in the list box using the Binding tab on the Object palette. So, on selection it displays SSK, and SGT, respectively. This makes the process difficult to make comparison. This is the simple reason why I am trying to see how I can use variables to assign values of 1, and 2 to the items. Hence, I have this code.var a=aKlaclistbox.raWvalue=="SSK";var b=bZlaslistbox.raWvalue=="SGT";a.value=1...

Views

399

Likes

0

Replies

0
Can one assign a numerical value to a variable?
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Hi All,Good afternoon,I am currently working on a form that has strings as values in 2 different listboxes, and depending on what is selected a message pops up. Here is the script I wrote, but it does not seem to work rightvar a=aKlaclistbox.raWvalue=="SSK";var b=bZlaslistbox.raWvalue=="SGT"; a.value=1; b.value=2; if(a > b){ xfa.host.messagebox("You cannot select a lower officer as the rating officer"); }It does not work, and I am just wondering if there is any way I can get around it so that I ...

Views

1.1K

Likes

0

Replies

3
Re: Code not working
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Good morning. I have the code placed on the exit event of the two checkboxes named BTY and Kasc. I also tried it on the click events of these checkboxes, and it still does not work.Thanksv/rTammy

Views

366

Likes

0

Replies

0
Re: Code not working
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Thanks Kyle, I did change that, and it does not seem to get into the second part of the script after the AND &&. Here is the code.if(BTY.rawValue > 1 && Kasc.rawValue > 3){ Grllac.presence="visible"; }

Views

372

Likes

0

Replies

0
Code not working
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Hi All,I have written the following code, but it is not working, and I do not know why. I wrote this using javascript. if(BTY.rawValue > 1 & Kasc.rawValue > 3){ Grllac.presence="visible"; }I am just wondering if it is not responding to the &(AND) operator I used.Thanksv/rTammy

Views

1.3K

Likes

0

Replies

5
I am trying to masked an SSN field depending on if yes is choosen or not
Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
- Adobe LiveCycle
Hi All, Good morning. I am working on a form that should display a masked SSN field in the format of XXX-X9-9999. I did come across the following script on the Adobe Designer forum, and apply it to my form creating two fields, and put the code on the exit event, but it is not working. Please what is wrong with the code, and is there any other way it could be done? if(form1.page1.subform1.Maskedfld1.rawValue != null) { var ssn = form1.page1.subform1.Maskedfld1.rawValue; var regExp = /^(\d{9}|\d{3...

Views

687

Likes

0

Replies

1
Likes from