- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2019 04:46 AM
Hi all,
I am facing one issue in my catalog item actually am using Multi row variable set in side i have 4 variables based on the three values counting, sum value has to populate in the 4th variable for that i have written on submit client script , it's not working if any one know it help me.
below script :-
var b = g_form.getValue("base_value_external");
var f = g_form.getValue("fine_value_external");
var g = g_form.getValue("gst_value_external");
var total = parseFloat(b) + parseFloat(f) + parseFloat(g);
g_form.setValue("total_recovery_amount_external" , total);
see the below image after submission values not fetching.
Solved! Go to Solution.
- Labels:
-
Finance Service Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 03:43 AM
- onSubmit catalog client scripts are not supported for a multi-row variable set.
kindly write the script on onChange() catalog client script.
adding doc link here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 03:56 AM
Hi,
Yes, onsubmit is not supported.
Hence please write the above mentioned onchange client script. It is working fine.
Regards,
Shamma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 04:12 AM
Hi Sananya,
i have recently posted one more query on Multi Row Variable Set, if you know that can you please help me out.
Thanks in Advance !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 04:52 AM
For catalog items you need to write Catalog Client Script. You need to write onChange() catalog client script for this.
I have also attached this link to docs for your help.
Please Mark Correct If You Find This Helpful.
Thanks & Regards,
Aditya Andurkar