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

rclarke2009
rclarke2009
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
5

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by rclarke2009
Customize the badges you want to showcase on your profile
Re: Change User Entered Decimal Value prior to Calculate Event? - Adobe LiveCycle 25-11-2009
Hi Bruce,Many thanks for your example PDF as it has highlighted an interesting issue. It turns out that our scripts were functionally identical, the only difference being that mine were written in FormCalc and yours in JavaScript. With yours there is no division by zero error reported, with mine there is! If I simply change my calculate event from FormCalc to Javascript (and add a ; at the end of the calculation line) then the zero error disappears and everything works as expected. Evidently the...

Views

487

Likes

0

Replies

0
Re: Change User Entered Decimal Value prior to Calculate Event? - Adobe LiveCycle 23-11-2009
Thank you Bruce ... I will check out your form and report back as soon as your attachment is released from the queue.Rod.

Views

488

Likes

0

Replies

0
Re: Change User Entered Decimal Value prior to Calculate Event? - Adobe LiveCycle 21-11-2009
Hi Bruce,Thanks for the reply. The problem is that there is a side effect of the Calculate event in other fields processing a null/zero value before it is changed by the Validate event on the offending field and that comes in the form of an "Error: arithmetic over/underflow" error dialog which the user then has to close before proceeding. Apparently I should be able to use the Calculate event on the offending field to trap the issue before other Calculate events fire, but I have tried numerous s...

Views

493

Likes

0

Replies

0
Re: Change User Entered Decimal Value prior to Calculate Event? - Adobe LiveCycle 20-11-2009
Hi xrum,Thanks for the quick reply. The issue is that the field that needs to be validated and potentially corrected is one that is referenced by multiple other fields. I did start off by doing exactly what you stated, but it just seems so inefficient to build that check into each and every calculate event that references the offending field ... there must be a way of fixing it at source before any other field potentially uses the value.I have tried coding the check into the Validate event of th...

Views

492

Likes

0

Replies

0
Change User Entered Decimal Value prior to Calculate Event? - Adobe LiveCycle 20-11-2009
Hi,Is it possible to check a user entered value in a Decimal field and change it prior to it being used in Calculate events associated with other fields? Basically I want to trap zero and null values at source, change them to 1 and thus prevent "division by zero" errors that would have occurred in other fields on the form.Thanks,Rod.

Views

2.6K

Likes

0

Replies

9