Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference > Pageset Functions > BuildTarget >
Text Output Targets
When the type argument for the BuildTarget function is set to TEXT, a text output target control is created.
The syntax used to create a text output target is:
BuildTarget("TEXT",window,name,[formatFunction])
Example
The following sample code creates a text output target that displays an interior color selection. When the user selections match a valid configuration, a value in the DESC column is returned and displayed in the text output target. Note that this column is located in the Feature table COLORINT.
<SCRIPT>
document.write(ISS.BuildTarget("TEXT", window,"COLORINT.DESC"));
</SCRIPT>
The following sample code displays a price text as a number with two decimal places.
<SCRIPT>
document.write(ISS.BuildTarget("TEXT", window,"PRICE", ISS.ConvertFloatToCurrency));
</SCRIPT>
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference Published: 18 April 2003 |