ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

This.frm.set_value and frm.set_value and using this and me




When to use this.frm.set_value and when to use it without this?
Because I am always using frm.set_value and it is working fine, but I am afraid that I will face troubles in the future when multi users are using the application so that is why I am asking.

Also, why sometimes it is written var me = this; why not to use this directly?


Any help?
Can someone advise on this?



What is the context of using it? If you are using it on a change event, then frm property is called, use that.

(this.frm is an older style of writing, that we don’t encourage)