Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Calculations

Avatar

Level 2

This appears so simple a request but

I cannot seem to get it to work. I have created a table with four

data entry fields, num1, num2, num3 and num4. How can I script the following code.

num3 = num1 * 0.5%

num4 = num3 * num2

3 Replies

Avatar

Former Community Member

num3.rawValue = num1.rawValue * .5

num4.rawValue = num3.rawValue * num2.rawValue

Paul

Avatar

Level 2

Thanks. I am trying to enter a value in the fields but it will not accept a

data entry. Should these be enables as 'events with script' or as 'enter*'?

Avatar

Former Community Member

Are you using Preview to bring up the form? If so Look under the File/FormProperties/Preview and make sure that you have

chosen a preview type of Interactive form and not a print form.

Paul