- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 02:46 AM
Hello all,
How to calculate the currency fields: Capital Budget and Operating Budget and summed of these fields should show in the customized field i.e., Total estimated budget.
For example: Capital Budget + Operating Budget = Total estimated budget
10 + 10 = 20
Any idea how we can achieve above scenario, i have tried using client script but not able to get the values of Capital and Operate budget fields.
Any help is appreciated!
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 03:13 AM
var fieldm = g_form.getValue('field_name');
var val1 = fieldm.split(';')[1];
var val1int = parseInt(val1);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 03:13 AM
var fieldm = g_form.getValue('field_name');
var val1 = fieldm.split(';')[1];
var val1int = parseInt(val1);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 03:18 AM
Thank you Sai!
can I know why did you used finalOffer in the second line of code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 03:23 AM
USD;100 -- Like this currency value is stored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 04:06 AM
Okay i will try and let you know the status..