Hi!
I’m new to ERPNext and I would like to know if it is possible to set a field as read-only during editing only.
Example:
Raised by field should be editable when I create an Issue. But must be read-only once I try to edit the record.
Hi!
I’m new to ERPNext and I would like to know if it is possible to set a field as read-only during editing only.
Example:
Raised by field should be editable when I create an Issue. But must be read-only once I try to edit the record.
Dear Chris,
Can you please tell us What is the Status of the Document when you try to edit the field?
Is the Document is Draft state or the Submitted state?
You can see this on the Top left corner.
regards,
Rushikesh
Hii
Yes its possible, you can use
cur_frm.set_df_property("your field name","read_only",1);
on validate event of js side.
Hi
Can I do the same validation to specific user or role ???