Is it possible to update the fields value based on other fields value change in list view?

Siddharth4
Tera Contributor

Hi,

I have i doubt, can we change the value of some field based on other field value change using oncellEdit() client script?

For example, if i change the value of field Project Name then the field Project code get automatically updated according to the value inserted in project name?

4 REPLIES 4

Yousaf
Giga Sage

Hi Siddharth,

Its better to use onCellEdit() for restriction purposes but here is the solution please refer to this link

Is it possible to update the fields value based on other fields value change using onCellEdit() clie...

 

 

Mark Correct or Helpful if it helps


***Mark Correct or Helpful if it helps.***

SumanthDosapati
Mega Sage
Mega Sage

Hi,

Yes, you can use onCellEdit Client script or else you can use After Update Business rule as well.

 

Mark as correct and helpful if it solved your query.

Regards,
Sumanth

If i use onCellEdit client script then i  have to call the data from serve side also so what method i can use like getrefrence or GlideAjex

Yes, 

You can use GlideAjax preferably.

If you are using getReference then use it with callback function.

Both will work.

And also you can use update business rule.

 

Mark as correct and helpful if it solved your query.

Regards,
Sumanth