Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Duplicating data from one field to another

Avatar

Level 4
Objective: To duplicate the result from a read-only calculated numeric field (TotalIncome) with it's pattern properties of $zzz,zzz,zz9.99 to an open text field (txtIncomePotential) which also allows additional data to be added to it.



Example: TotalIncome field result 10000 displays as $10,000.00. The txtIncomePotential field should display $10,000.00 plus any additional data the user wants to add -- "$10,000.00 looking for a better paying job".



Problem: I can get the raw value of TotalIncome to display in txtIncomePotential using the following JS but 1) the display pattern disappears, and 2) I am unable to add more data to the txtIncomePotential field.



if(TotalIncome.rawValue > 0)

{

txtIncomePotential.rawValue = String(TotalIncome.rawValue);

}



Is the main objective possible? Can anyone offer a solution?



Thanks.
0 Replies