Can the onChange client script be triggered by a change in the value of a list embedded in a form?

Kurumi
Tera Contributor

Change values in a list embedded within a form.
Is it possible to run the onchange client script based on that change?

 

〇Image of operation

1.Change the value of the embedded list as shown in the image.

Kurumi_1-1703652467859.png

2.Due to the change, the onChange client script works and the base record tab is hidden.

 

2 REPLIES 2

Danish Bhairag2
Tera Sage
Tera Sage

Hi @Kurumi ,

 

No the onChange client script does not work when something is edited on list view. If u want a client script to work on list view plz create a cell edit type client script or a BR if from server side that functionality can be achieved.

 

Thanks,

Danish

 

Kurumi
Tera Contributor

@Danish Bhairag2 

Thank you for your reply.

When creating a cell edit type client script, should I create it for the embedded list table?
If so, is it not possible to change the values in the base record's form with this client script?
What I want to do is control the display/hide of section tabs.