ERPNext beginner


I’m very new in ERPNext i created a new Doctype name “Test Employee” and there are 3 “DocFields”

  1. First Name.
  2. Last Name.
  3. Full Name.
    i want to do the client side scripting so whenever user put the First Name and Last Name so the Full Name Docfield should auto fill so how i can do that ?
    I’m also very new in JavaScript s well.
    Guide me right path please.Thanks everyone.
    Best Regards.

I am not sure it should work that way. In much of the world, people have more than just a first and last name. I am pretty sure that the need to manually fill out the “Full Name” field is predicated on this idea.


you can refer to


Thank you so much everyone i solved my problem. Thanks for your time.

I simply do this

frappe.ui.form.on(‘Test Employee’, ‘before_save’, function(frm){
frm.set_value(‘full_name’, frm.doc.fist_name+’ '+frm.doc.last_name);

i know this is very basic but i’m beginner in ERPNext and ready for adventure.