RTML Examples: Transform Functions Example Information

To transform data within a quote element with either a user defined function or built-in JavaScript function, the user can use the following attributes:

Attribute Description
Name Value
transform function name This allows a JavaScript function to be specified through which updated values are passed before being displayed on screen. The function can range from the simplest to the most complex JavaScript function.
transformparam Object An optional object that can be specified to be passed in as a second parameter to the above user defined function. This can be a string, array, object etc... In the function definition there has to be a specified second parameter for this to work.