Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > SmartScript Question Methods >
SetQuestionText
SetQuestionText changes the displayed text for a question. Syntax
SetQuestionText(text)
|
|
text |
The new text to be substituted |
Returns
Not applicable Usage
This procedure changes the displayed question text. Note that no automatic substitutions in the question text are supported. Siebel VB Example
Dim City as String
if City = "" then
QuestionText = SubstituteText(QuestionText,"City", "[No City specified]")
else
QuestionText = SubstituteText(QuestionText,"City", City) Script.SetUserParameter "City", City
end if
SetQuestionText(QuestionText)
See Also
GetQuestionEnable and SubstituteText.
|