web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / how we can calculated ...
Power Pages
Unanswered

how we can calculated field value in portal forms

(0) ShareShare
ReportReport
Posted on by 31

how to calculate field value in power apps portal

I have used this code but it is not working 

any help would be great

 $(document).ready(function(){
        
        total = $("#hope_rent").val()+$("#hope_studentloans").val()+$("#hope_1stmortgage_taxes_insurance").val()+$("#hope_2ndmortgage_taxes_insurance").val()+$("#hope_trailerparkspacerent").val()+$("#hope_autoloans_leases").val()+$("#hope_recreationtoys").val()+$("#hope_past_duetaxes").val()+$("#hope_othersecureddebts").val()+$("#hope_othersecuredloans").val();
        $("#hope_totalmonthlydebts").val(total);
        });
Capturecal.JPG
Categories:
  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @unbeatbale,

    Your fields are probably are string type. Because of this, you are basically concatenating strings instead of performing an actual sum operation. You can try to use parseInt function to get a number instead of a string.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 43

#2
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 20 Super User 2026 Season 2

Last 30 days Overall leaderboard