JavaScript Event for Fields:
Selecting the Table:
Click on the settings icon located under the page where you want to implement a JavaScript event. This will be the page where you'll set up the desired JavaScript functionality.


Click Add javascript event

Choose event type

Select the first field then press the plus button

Select the operation you need to do
After selecting the desired operation for the JavaScript event, proceed to click the plus button located next to the "Operation" field.

Select the second field

select the field where the action will take effect

select the result where the action will be placed

Then save