Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Standard SmartScript Question Procedure >
Question_PreLeave is a pre-event called by certain methods before the user leaves a question.
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