as you can initially all is zero
As I enter the value and click on submit the symbol appears with the value but it doesn't appear in total
both are field types is the currency
I am using this code for totaling
Any help would be great!!!
Hi, please take a look at this article as I think it will be very helpful: https://www.engineeredcode.com/blog/power-apps-portals-using-bootstrap-input-groups-with-your-basic-or-advanced-forms
i have removed parsInt now its showing like this in total that's why I have use parseint
As far as I know, the ParseInt function converts the input to a number and I see a lot of those in your code in the part where you are adding up the hope_takehomeincome. Perhaps you can just leave those out:
/////Monthly Take-Home Income////
$(document).ready(function(){
var hope_salary_wages= $("#hope_salary_wages").val();
var hope_salary_spouse= $("#hope_salary_spouse").val();
var hope_dividends=$("#hope_dividends").val();
var hope_pensionplan_retirement= $("#hope_pensionplan_retirement").val();
var hope_socialsecurity=$("#hope_socialsecurity").val();
var hope_interestincome=$("#hope_interestincome").val();
var hope_unemployment_foodstamps=$("#hope_unemployment_foodstamps").val();
var hope_realstate=$("#hope_realstate").val();
var hope_militarypay=$("#hope_militarypay").val();
var hope_alimony_childsupport=$("#hope_alimony_childsupport").val();
var hope_royalties_otherincome=$("#hope_royalties_otherincome").val();
hope_takehomeincome = hope_alimony_childsupport +
hope_salary_wages + hope_salary_spouse + hope_dividends + hope_pensionplan_retirement + hope_socialsecurity + hope_interestincome + hope_unemployment_foodstamps + hope_realstate + hope_militarypay + hope_royalties_otherincome;
$("#hope_takehomeincome").val(hope_takehomeincome);
});
@BCBuizer thanks for the reply
can you please give me one example or demonstrate what I have done wrong so that I can correct my mistake
Without fully understanding your code, aren't you converting the datatype from currency to number? That would explain why the dollar sign is missing.
Below link gives guidance on how to display a number as currency:
Lucas001
60
Super User 2025 Season 1
Fubar
55
Super User 2025 Season 1
surya narayanan
35