In system form I am calling a js function on "onsubmit" attribute. I want to validate few things while submtting the cart not on save. But at cart level if I click on save button the js function get exectued. I want this function to execute on click of submit button not on save.
Function work on both save and submit
I want js to work only on submit. How can I get this done working??