- 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-21-2019 05:03 AM
Have you check out this blog?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2019 07:17 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2019 07:28 AM
Good thought to do the totals when they are creating each row instead of doing a onsubmit script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2019 04:51 AM
Hi,
Please mark the answer correct if that helps you!
Regards,
Shamma