Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

"Expected a number object" error/warning.

Avatar

Former Community Member
Hey Guys, I am using LiveCycle 8 and Adobe Pro 8.

I have an 8 page form that I started in Pro 8, and now I have

tweaked in LiveCycle.



Everything is "almost perfect" for what I want.



Only problem is now I get an error that says,

Expected a number object

Expected a number object



This gives me two errors. Thus, I can't save the document either.

All I need to do to finish is resolve this, and then

Re-Do the Tab Order for it to be complete.



The thing is, it doesn't tell me WHERE

the error is, or otherwise I'd fix it.

I've already gone through the 500+ fields,

and can't figure it out.

It's not a Javascript error either.



Any help on this would be great help.



Thanks.
1 Reply

Avatar

Level 7
JavaScript is very lose in type checking, that is, JS does not verify or keep the type the same for an item and JS will change the type of an item form number to string if it looks like that should be done. You can use the "Number(cSting)" constrictor to force an item to a number in JS and might be able to format a number with the "Format(s1, s2)" function in FormCalc.