Rename Buttons in Form View
Rename Buttons in Form View
In a submitted Sales Order, you can see multiple options under the 'Create' option:
![](https://storage.crisp.chat/users/helpdesk/website/6f1c2c7b8034d000/951_73ukc2.jpg)
You can use this custom script to rename the buttons:
![](https://storage.crisp.chat/users/helpdesk/website/6f1c2c7b8034d000/image_pgn293.png)
Using this script, we have removed/hidden the unwanted buttons, and then renamed one:
![](https://storage.crisp.chat/users/helpdesk/website/6f1c2c7b8034d000/952_tu20rn.png)
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
Thank you!