Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Form Calculations - Please Help

Avatar

Level 1

untitled.JPG

Hello,

I need help with some calculations on my "Payroll Notification form". I have 4 numeric fields there:

current salary(NumericField1), New Salary(NumericField2), Increase Amount(NumericField3) and % of Increase(NumericField4). What would be the best option to do calculations based on 2 fields entered.There may be a couple of options user may choose to enter.  Current salary and new salary entered were increase amount and % of increase should be calculated or current salary and % of increase are entered so the other two field should be calculated. Anyone ? Please help

1 Reply

Avatar

Level 2

Hi,

we can run calculations for both the options but if you write code in calculate event using Javascript the field get read-only. so when using calculate event only either of options is available. you can choose in which you would like to write the code.