Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

Custom Script to Submit

Is there a method to submit form inputs using Custom Scripts?

Hello @Jeryl_Teo

What precisely do you mean with “submit”. Is it analogous to the Submit button being clicked, once the form was Saved?

Apologies for the lack of info, I meant it as when the form is saved and the data is sent to the database.

My current situation is that, in Sales Invoice, I have added another list of custom doctype to be calculated with the total. However one of the script is recalculating the total again on validation which doesn’t include the above list.

I’m trying to add a script to add the cost calculation of said doctype.