• pmish
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi,

I have three fields in my VF page and user has to input two of them manually. Once both the values are entered, I need to show the Sum of both the entered values dynamically on the screen and that value must be saved to the third variable.

<apex:inputField value="{!Employee_segment_ineligible_under_plan__c}" id="eng" style="width:80%"></apex:inputField>

<apex:inputField value="{!Individual_income_reported_via_IRS__c}" id="enf" style="width:80%"></apex:inputField>

The sum should be displayed dynamically something like this and displayed without page being refreshed:

Based on your answers, the calculated subtotal is  __<calculated field>__ employees.

Please Help.

Thanks!!
  • June 12, 2017
  • Like
  • 0