Field Getting Blank Automatically

Hi, Everyone

I have a cashbook and a child table shown in the image, in which users enter daily expenses/petty cash entries to the cashbook doctype.

Issue is →
When a user enters the Expense Date and then tries to fill in other fields like Description or Amount, the Expense Date field becomes blank automatically — either immediately or when clicking Save or moving to another field.

Thank You


Anyone ?

Hi @rs115199789

There might be many reasons and i can think of two as following;

  1. Please check if that field is set with Fetch From functionality.
  2. Please check if any client script is overwriting the data input.

Hi @ahsantareen

i have tried to disable the client scripts but the issue is still there, the thing is i haven’t made any changes to the system and this issue suddenly came yesterday.

I tried setting a default value, adding client scripts to enforce date formatting and auto-fill today’s date, verified fieldnames and doctype settings, removed default “today”, Despite all this, the issue persists.

  1. use laptop or desk computer, check the browser console whether there is any error message
  2. check the Expense Date field definition (the field type) in doctype or customize form.