Reference field value is getting cleared on saving the form and the xml has the value

Gamarawaji
Giga Contributor

Hi,

 

a referenced field value is getting cleared after saving the form. but after saving when i checked the xml, it has the value.

i checked client scripts, ui policies and business rules.

 

can someone help?

1 REPLY 1

Rajesh Chopade1
Mega Sage

Hi @Gamarawaji 

It typically indicates that there might be a discrepancy between the server-side and client-side processing.

You need to do following checks to resolve the issue:

 

Make sure that the referenced field’s value is correctly saved in the database and that it is correctly read from the database.

 

Ensure that there are no client scripts (e.g., onSubmit or onChange) that might be inadvertently clearing the referenced field value.

 

Ensure that there are no UI policies that might be setting the referenced field value to null or clearing it under certain conditions.

 

Look at business rules (especially those that run on the before or after save) to ensure they are not clearing the field value.

 

I hope my answer helps you to resolve your issue if yes please mark my answer correct & helpful.

thank you

rajesh