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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Question: Fields not recognized; how can I fix this?

Avatar

Level 1

I've got the following code to total cash on hand;

if (Sum(Hundreds, Fifties, Twenties, Tens, Fives, Twos, Ones, TwoDollars, OneDollars, HalfDollars, Quarters, Nickels, Dimes, Pennies)== 0) then $.rawValue=0

  else $.rawvalue = Sum(Hundreds, Fifties, Twenties, Tens, Fives, Twos, Ones, TwoDollars, OneDollars, HalfDollars, Quarters, Nickels, Dimes, Pennies)

  endif

I have verified that the fields I'm trying to sum all exist and that the spelling matches the actual field names. however, when I try to preview the form, I get an error indicating

"Error accessor 'Hundreds' is unknown."

If I take out the 'Hundreds' field, I get the same error for 'Fifties' and on down the line.

What should I be looking for?

Thanks much,

Katy

0 Replies