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

Question_PreLeave


Question_PreLeave is a preevent called by certain methods before the user leaves a question.

Syntax

Question_PreLeave

Returns

Not applicable

Usage

This preevent 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 Copyright © 2006, Oracle. All rights reserved.