Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Standard SmartScript Question Procedure >

Question_PreLeave


Question_PreLeave is a pre-event called by certain methods before the user leaves a question.

Syntax

Question_PreLeave

Returns

Not applicable

Usage

This pre-event is called on the question before the user leaves it by jumping or proceeding (but not by Undo or Backup). This allows question-specific validation to be performed.

Siebel VB Example

Function Question_PreLeave () As Integer

Script.SetUserParameter "Current Product", GetCurrentValue
Question_PreLeave = ContinueOperation

End Function


 Siebel SmartScript Administration Guide 
 Published: 23 June 2003