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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

KC0511
KC0511
Offline

Badges

Badges
10

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
29

Discussions

Discussions
0

Questions

Questions
11

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by KC0511
Customize the badges you want to showcase on your profile
Re: Restricting a number to a positive value - Adobe LiveCycle 24-09-2010
Thank you, I should have caught that. K

Views

98

Likes

0

Replies

0
Re: Restricting a number to a positive value - Adobe LiveCycle 24-09-2010
Hi Niall,Thank you for your reply.I tried this:var vResult = Qty1.rawValue - Qty2.rawValueif (vResult <= 0){this.rawValue= "0"; //or = "Error" or whatever you want}else{this.rawValue= vResult; }and I am getting a script error on the first {Qty1 and Qty2 are the field names for ObjectA and Object B.K

Views

100

Likes

0

Replies

0
Restricting a number to a positive value - Adobe LiveCycle 24-09-2010
Is there a way to restrict a number field to a positive value?For example; a-b=c where both a and b have to be positive numbers and c cannot be less than 0.K

Views

492

Likes

0

Replies

4
Re: Add instance problem with calculation - Adobe LiveCycle 23-09-2010
Opps, I forgot the .I did try this and it worked to keep all calculation in my total, but now when I add instance, I get an error message. I did email you a sample of my form with an explaination of my issue, before I added the .rawValue.Thank you. K

Views

92

Likes

0

Replies

0
Re: Add instance problem with calculation - Adobe LiveCycle 23-09-2010
Yes setup-tr2 is a field name. So my expression should look like xfa.resolveNode("#subform[1].setup-tr2")rawValue+xfa.resolveNode("#subform[1].mid-tr2")rawValue+ ?

Views

93

Likes

0

Replies

0
Re: Add instance problem with calculation - Adobe LiveCycle 23-09-2010
xfa.resolveNode("#subform[1].setup-tr2")+xfa.resolveNode("#subform[1].mid-tr2")+ it goes on from here.Its targeted for reader 9.0 or later.

Views

92

Likes

0

Replies

0
Add instance problem with calculation - Adobe LiveCycle 23-09-2010
I have a form where I have a total calculation field. When I add an instance in the form everything below that instance is no longer calculated. Please help.K

Views

635

Likes

0

Replies

6
Re: Adding add instance into calculation - Adobe LiveCycle 04-08-2010
Ok, I got it, this is what I needed Sum(location[*].yes900[*].admids[*].midtr3a[*]).Thanks K

Views

89

Likes

0

Replies

0
Re: Adding add instance into calculation - Adobe LiveCycle 04-08-2010
Hi Srini,Thanks for the response. I still cannot get this to work when I add an instance, it works for the first one, then I get an error message.Thanks K

Views

92

Likes

0

Replies

0
Adding add instance into calculation - Adobe LiveCycle 03-08-2010
I am trying to get fields from add instance/subform fields to calculate with the rest of the form fields. The problem I am having is once I "add instance" the field is no longer part of the calculation. I have tried using:// Verify at least one instance of the midtr3a field exists.if (exists(location.yes900.admids.midtr3a) == 1) thenSum(location.yes900.admids[*].midtr3a)endifwould appreciate any help on this.Thanks K

Views

499

Likes

0

Replies

3