Combining text and number fields without loosing number field format.
In my job function I have to combine fields to generate letters for different departments. I can usually cobble together a working form, but in this case I'm hitting a wall. I'm trying to combine a text field with a number field without loosing my number field formatting.
Example: The following results in "The cost is 1000" while I am trying to get "The cost is $1,000.00"
var cost = "The cost is ";
var OS = this.getField("Old Salary").value
event.value = cost + OS;
