Onchange client script for calculation

SAM321
Tera Contributor

Screenshot (188).pngScreenshot (189).png

Hi all , so this is my script for calculating values in field on changing value in GST field....

How can i modify this script...  Initially CGST  and SGST values '320'wil l be auto calculated at that time IGST should show only '0'...when i manually change CGST and SGST to '0' only at that time IGST should show '640'...

can i get script for it

16 REPLIES 16

lp6
Tera Guru

can you share snapshot

SAM321
Tera Contributor

@lp6 Screenshot (191).png

lp6
Tera Guru

script also

 

SAM321
Tera Contributor

@lp6 Screenshot (192).png

lp6
Tera Guru

In Execute if false script try to add g_form.setValue('u_igst','0'); and check