Field value is getting cleared

Shruthi2
Kilo Contributor

Hi,

   I have a field on the change form onload of the change form I can see the value that is visible on the form but soon as the form loads and settles down field value is empty. I have no onload script written on the particular field to clear the value of that field. In the history of that field I am able to find the value of the field. Can somebody help me with this.

Thanks,

Shruthi

25 REPLIES 25

I have checked to my suprise the same thing is working in dev but not in QA. Please help

We might miss out few things.

Try disabling all onload client scripts (active false) on that table for a minute and do a quick test. If this still makes it unclear, then you can be sure that it is not client script.

Then do the same with ui policies.

 

@Shruthi

please check any display BR is running on that table and setting the value as empty

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

I thought about that, but if there is display Br, the value shall not be visible at all in the first place right.

Hi,

that's correct. display BR runs first and then client script

possibly display BR setting it as empty and no other client script or UI policy

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader