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

Hello shruthi,

let me know if its possible to check this over zoom call or any other screenshare. This would be easier and faster to debug and fix the issue.

hi , 

 

  Its still not working... Any help?

 

Hello Shruthi,

Can we connect over a zoom call to check the issue?

There are no UI Policy on the same

 

Hitoshi Ozawa
Giga Sage
Giga Sage

Would appreciate a screenshot of the form. Also, is the variable of type single line text?

Try creating an onload script to output the value of the field in an alert to see if the value is actually being assigned.

alert(g_form.getValue('<variable name>'));

Lastly, is there a onChange script on the variable? onChange script also run on onLoad and if the line below is missing, it will execute the script.

function onChange(control, oldValue, newValue, isLoading) {
    if (isLoading || newValue == '') {
        return;
    }