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
Re: Scripts not working right
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
Should this reply you provided be placed on the click event? This is because the message part which works should be on the preprint event, and based on if "3" which in this case is "Yes" selection, it should turn the "rectangle, named Maskedfld visible, and if "2" which is "No", should turn the SSN field visible, and the Maskedfld invisible. Right now the part the script of:if (buttonclicked == 3) { Maskedfld1.presence="visible"; SSN.presence="invisible"; } else if(buttonclicked==2){ SSN.presenc...

Views

113

Likes

0

Replies

0
Scripts not working right
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 the following script, and I do not know why it is not working. On printing of this form a message should display. this part works fine. However, if "Yes" is selected from the message box a text called Maskedfld1 should become visible, else if "No" a textfield call SSN should become visible. This is the part that does not work. Here is my code:On preprint event: xfa.host.messageBox("Are you printing to send hard copy?", "Question?", 3,2) if(xfa.host.response==3){ M...

Views

810

Likes

0

Replies

4
Scripts not working right
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 below code, and placed it on the exit event of a drop down list on a form that I am working on. The script works some times, and sometimes, it does'nt work right.I do not know why it is not working right all the times. I need help with possibly what I may be missing. if(ReasubdrpdwnList1.rawValue=="Annual"){ ReasonFor.rawValue="2"; }if(ReasubdrpdwnList1.rawValue=="Change of Rater"){ ReasonFor.rawValue="03"; }if(ReasubdrpdwnList1.rawValue=="Change of Duty"){ ReasonFor.r...

Views

1.3K

Likes

0

Replies

2
Scripts not working write
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 the following scripts placed on the exit event, and only works once for each selection in the drop down. If you change the selection it will not work. Here is the script. if(dropdwn34.rawValue="1"){ StatusCodeDrpDwnLst4.presence="visible"; A_txt.rawValue=dropdwn34.rawValue;}else{ StatusCodeDrpDwnLst4.presence="invisible";A_txt.rawValue='';}if(dropdwn34.rawValue="2"){ StatusCodeDrpDwnLst4.presence="invisible";A_txt.rawValue=dropdwn34.rawValue;}else{ StatusCodeDrpDwnLst4.presence="in...

Views

439

Likes

0

Replies

1
How can I set an object to read only or protected without it disappearing?
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 working on a form, that the drop down list object on it has to be protected or read only, and only becomes active or open when a check box is checked, the script works very fine, however, the the drop down arrow disappears when protected or read only.Is there something that I need to do to ensures that the object shows even if it is set to read only or protected? Thanksv/rTammy

Views

716

Likes

0

Replies

2
script for converting entries in 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 wrote the following script to convert the entries in a field to upper case, but it is not working using FormCalc; on exit event: Upper(fieldtxt4.rawValue);Thanksv/rTammy;

Views

451

Likes

0

Replies

1
Need to know when the Adobe LiveCycle Classes will be Available in the DC Area
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. Please does anyone know when there will be an Adobe LiveCycle Training classes in the Washington, DC Metropolitan Area. I do have two of my colleagues that will want to attend the classes.Thanksv/rLucpian

Views

374

Likes

0

Replies

1
Re: Problem with my Scripts
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 would like to upload the form to share with the forum, but How do I upload it?Thanksv/rLucpian

Views

85

Likes

0

Replies

0
Problem with my Scripts
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 working on a form that has lots of drop down listbox, and when selected passing a value that are added. However, if a value of less than 3 is selected in any of the drop down then the overall total should be Not Met. I wrote the following script, and the addition part works perfectly, but the issue is with when less than 3 is selected from the drop down.Here is my script:if((Page1.TotalHold1.rawValue !==null && Page1.TotalHold1.rawValue < 3) ||(Page1.TotalHold2.rawValue !==null && Pa...

Views

354

Likes

0

Replies

3
Problem with the 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
Hi All,Good day. I am having problem making a script work in the Adobe LiveCycle. Basically what I am trying to achieve is lock most of the fields on a form when the signature field is click. Note: Not all the fields should be locked. I then wrote a sample script with one of the field as follows:if(employeeSig.rawValue !=null){ EmployeeLastNa.access = "protected";}But surprisingly it does not work. I have placed this code on the Click, PostSign, and even PreSign events, respectively, but it does...

Views

453

Likes

0

Replies

1
What is wrong with my code?
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 did write the following code on the Click event to lock a field when the signature field is clicked, but it is not working. Please could someone out on this forum help out.if(Page5.Signature2[3].rawValue!=null){Page1.employeename1.access= "readOnly";}Thanksv/rlucp

Views

377

Likes

0

Replies

1
Re: Code is 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
Thank you, but that did not help, because, there three different check boxes, and depending on the values, it will putExceed, Met, or not met in the textfield dolamt1. If start with the code in the first check box it will work, but as soon as move to the second and third check boxes, the textfield will only work for one, passing the equivalent value of met from the second check box to the textfield, but will not work with the first, and third check boxes. If I use three different textfields for ...

Views

83

Likes

0

Replies

0
Code is 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 the following code under the calculate event but the first part that deals with the text "Exceed" is not working. I cannot figure out why, because, it did work thefirst time I wrote it, but has just stopped working. Please can someone out on the forum take a look at it and see what is wrong. See code below: if (Page5.raterec1.rawValue >= 5 && Page5.raterec1.rawValue < 7){ Page5.dolamt1.rawValue= "Exceed" Page1.rrout1.rawValue = 1;}else{Page5.dolamt1.rawValue = "";Page1.rrout1.rawVa...

Views

363

Likes

0

Replies

3
To make a signature lock up
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 working on a six page form with several codes I ahve written to achieve functional requirements of the client. However there is one requirement which is one the approval signing, the whole field on the form should lock up, except the employee signature field. I have tried codes, but it is not working.Please can someone out on theis forum help me out.Thankslucp

Views

599

Likes

0

Replies

1
Re: Populating a field based on the value on a different page
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 Nial, it works now. I just split the scripts between the checkboxes on the calculate events.

Views

112

Likes

0

Replies

0
Re: Populating a field based on the value on a different page
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 Nial,I have this code on a drop down list which values equates raterec, and depending on what the value of raterec, any of the checkboxes could be checked. It is working, but works on the second clicking in the dropdownlist which is not how it should work. I have this code on the Exit event of the dropdown list.Thanksv/rLucky

Views

109

Likes

0

Replies

0
Re: Populating a field based on the value on a different page
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 Nial,No, raterec is on the fifth page of the form, while rrun1 is on the first page. raterec is a ReadOnly field.Thanksv/rLucpian

Views

112

Likes

0

Replies

0
Re: Populating a field based on the value on a different page
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 Nial,Thanks, but it is not working, and I guess knowing which is the right event to place it on, because, it briefly works the next time you go back to the field and exit from it. So, it looks like it hangs somewhere.Thanksv/rLucpian

Views

112

Likes

0

Replies

0
Populating a field based on the value on a different page
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 do have a form I am working on, and I have all other scripts I have written on it working except one. There is a Calculate field that based on it's value, it checks the check box on page one depending on the range. This Calculated is readOnly. I wrote the following code, and put on the Exit event, but it is not working. Please can someone help me out with why it is not workiong.if((form1.Page5.raterec1.rawValue>=1)&&(form1.Page5.raterec1.rawValue<2)){ rrun1.rawValue==1; } if((form1.Page...

Views

668

Likes

0

Replies

8
Re: 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
The code I wrote is working now, so, thanks all.

Views

75

Likes

0

Replies

0
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
Hi All,I am working on a form where I have four drop down lists, and each time you select a list within the drop down it assigns a value which is sum up. I was just wondering if there is any javascript code for that.ThanksLucpian

Views

279

Likes

0

Replies

1
Problem with the 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
Hi All,I am having problem with the signature fields on a form I had earlier completed. Each time any of the signature field is checked by the client it comes up with one of the signature field may have some problem, and gives an error sign. It does not allow the distribute form to work with it. I have gone through the 5 signature fields I have on this form, and cannot figure out why the error.Please, can anyone out there help out.Thanksv/rLucpan

Views

190

Likes

0

Replies

0
Re: Calculating three 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
No, I am not getting any message from the console. Thanks

Views

68

Likes

0

Replies

0
Calculating three 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
Good morning everyone. I need help with the following scripts I had written. It is a calculating script, and I did place it on the exit event of the fields as the Amount1 field is readOnly. I do not know why it is not working. Please, can someone on this forum help out.ThanksLucpaanHere is the script:if(amount1.rawValue>""){ amount1.rawValue= (ccard1.rawValue + atmadv1.rawValue + atmfees1.rawValue);}else{amount1.rawValue="";}

Views

213

Likes

0

Replies

0
Calculating three 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
Good morning everyone. I need help with the following scripts I had written. It is a calculating script, and I did place it on the exit event of the fields as the Amount1 field is readOnly. I do not know why it is not working. Please, can someone on this forum help out.ThanksLucpaan Here is the script:if(amount1.rawValue>""){amount1.rawValue= (ccard1.rawValue + atmadv1.rawValue + atmfees1.rawValue);amount1.rawValue=amount1.rawValue;}else{amount1.rawValue="";}

Views

371

Likes

0

Replies

3
Having problem with my 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
Hi All,I need help with the following script. I am trying to hide some labels, and fields on a form I am currently working on, but it is not working. Here is the code I had written.if(FormsChkbx.rawValue==1){ IssuancesChkbx.rawValue=0; RecordMgmntChkbx.rawValue=0; Stattxt5.presence= "hidden"; Stattxt6.presence= "hidden";}ThanksLuc

Views

305

Likes

0

Replies

2
Re: Date time not displaying.
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 was not helpful.

Views

80

Likes

0

Replies

0
Date time not displaying.
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 do have a form I have finished designing with all the JavaScripts, but the date time field on it with a display pattern of date{YYYYMMDD} time{HH:MM:SS} is not displaying as it should when it is run.Please, is there anyone out there that can tell me what I may be doing wrong.ThanksLP.

Views

355

Likes

0

Replies

2
Re: Comparing length
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, Steve, that approach works.

Views

69

Likes

0

Replies

0
Comparing length
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 I have just completed, and it is one of those complex one. There is a field that is numeric, and should not accept less than 4 digits. I wrote the following code, but it doesn't seem to work, and I do not know why.if(SSN_SMg.rawValue > "" && SSN_SMg.length < 4){xfa.host.messageBox="none";xfa.host.setFocus("SSN_SMg");}Please, can someone tell me what I am doing wrong.ThanksLP

Views

354

Likes

0

Replies

2
Likes from