Siebel Interactive Designer API Reference > Data Access Functions >

SetInputValue


Usage

Use the SetInputValue function inside custom code. The function changes the input state and then it causes the engine to run immediately.

The SetInputValue function is called by the BuildWidget function and should rarely be called directly. Call this function only if you are developing a custom input UI control.

Call this function while a product is actively being configured. Do not call this function when no product has been selected (for example, right after the application starts).

Syntax

SetInputValue(table,selIndex)

Argument
Description
table
name of Feature table that corresponds to the input UI control.
selIndex
index that indicate which Feature table row has been selected.

Example

When the BuildWidget function for a check box executes, it produces the following HTML and JavaScript:

<INPUT type=checkbox name="CABLE_INCL" language="JavaScript"
onClick="ISS.SetInputValue('CABLE_INCL',(checked) ? 1:0)">

When a user selects the check box, the SetInputValue function is called. The SetInputValue function then changes the value of the CABLE_INCL Feature table selection and runs the engine.

See Also

GetInputValue.


 Siebel Interactive Designer API Reference 
 Published: 18 April 2003