So I have this Product lookup field on an Incident Entity Form.

Upon selection of the Product, I would check the value of a field in the Product Entity, and then generate an alert based on that value.

We are using CRM on-premise version 8.2 and Adxstudio portal 7.

Directly in CRM, I know we can achieve this with the API, but can we do something similar on the Portal with javascript?