Autofill Autoname: Prompt

HI all,

I need to check the name before saving the doctype and the name should have a specific format.
My requirement is to autofill the name in name field of Prompt. So that I can check the name before save!

Can i do this in ERPNext? Can anyone help me?

Thanks

If the only requirement is to validate the name pattern, you could do it in the validate method of the form. The name prompt is core to Frappe; modifying its behaviour would require direct changes to the code base.

Okay. Thank you @pratu16x7 for the reply!