- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 05:53 AM
Hello,
I have a decimal field on a form. I have a client-side UI action that needs to display the decimal field value on a confirmation pop up. So far I am not getting the expected result. What am I missing?
var number = parseFloat(g_form.getValue('hours_worked_today')); //This is the decimal field
var answer = confirm('Please Confirm That You Want to Submit ' + number + ' Hours For ' + g_form.getValue('date'));
if (answer == true) {
gsftSubmit(null, g_form.getFormElement(), "hourInput");
}
RESULT
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 07:22 AM
try
getDecimalValue(String fieldName)
var number = parseFloat(g_form.getDecimalValue('hours_worked_today')); //This is the decimal fiel
Vinod Kumar Kachineni
Community Rising Star 2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 07:22 AM
try
getDecimalValue(String fieldName)
var number = parseFloat(g_form.getDecimalValue('hours_worked_today')); //This is the decimal fiel
Vinod Kumar Kachineni
Community Rising Star 2022