I have a dialog box that gets 2 values from the user, and i need to verify that he entered valid input only.
meaning that he did only use letters & numbers.
Thx,
Posted 21 May 2001 - 08:11
Thx,
Posted 21 May 2001 - 08:47
To do more complex validation you will need a custom action. This should set a property so that wi can tell if it should proceed to the next dialog or not. If you have a custom action CheckInput that sets a property TestResult you might have a events on the next button like
Event: DoAction
Argument: CheckInput
Condition: 1
Event: NewDialog
Argument: MyNextDialog
Condition: TestResult="Valid"
Event: SpawnDialog
Argument: ExplainErrorDialog
Condition: TestResult<>"Valid"