Articles on: OneHash CRM | Customize OneHash

Rename Buttons in Form View

Rename Buttons in Form View



In a submitted Sales Order, you can see multiple options under the 'Create' option:



You can use this custom script to rename the buttons:



Using this script, we have removed/hidden the unwanted buttons, and then renamed one:




Note: To learn more about the JS APIs, visit the frappe documentation.
To check the method which is called, you will need to check JS file for that doctype.

Updated on: 31/03/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!