function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
1986anuj1986anuj 

Dynamic field value !!!

Hi,

 

I am trying to create a field to display a dynamic value.

Like, i have taken three number fields, now i want to  enter the numbers into first 2 fields and the third fiels should show the product of field1 and field2.

How can we do this?

 

thanks,

Anuj 

Best Answer chosen by Admin (Salesforce Developers) 
shillyershillyer

Use a formula field.

 

If your first two fields are fielda__c and fieldb__c, then formula can be:

 

fielda__c * fieldb__c

 

Hope that helps,

Sati

All Answers

shillyershillyer

Use a formula field.

 

If your first two fields are fielda__c and fieldb__c, then formula can be:

 

fielda__c * fieldb__c

 

Hope that helps,

Sati

This was selected as the best answer
1986anuj1986anuj
Yeah i have used that, but its not changing dynamically !!!
werewolfwerewolf
Formula fields will only change when the record is saved.  To make fields that change dynamically, your only option currently is to create a Visualforce page.