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

BonnyS0121
BonnyS0121
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by BonnyS0121
Customize the badges you want to showcase on your profile
Re: If/else if/else syntax question - Adobe LiveCycle 21-01-2014
You are mixing things up hereFirst of all, assignment of values in JS is done with a single =, not with 2. So, your NumericField3 == "0" is a logical expression, not an assignment.Second, RenoCost and NumericField3 are objects. You must ask for the value of the object using object.rawValue.So, what I would do is this:In the calculate event of NumericField3var reno = (0 + RenoCost.rawValue) // rawValue returns a stringvar calcValue = 0if ( reno > 50000 && reno < 100000 ) { calcValue = reno * 23 /...

Views

147

Likes

0

Replies

0