View Full Version : GO BACK TO A SCREEN
ebanguero
01-07-2003, 08:06 AM
I have a screen with two edit boxes. I want the user to not be able to go to the next screen if the values of those two variables are the same.
Any Suggestions???
TIA,
Edgar
Darryl
01-07-2003, 12:22 PM
There's a built-in variable that can be used for that functionality. It's defined as follows:
%PreventNextPage%
This is a special variable that can be set on a screen's Before or After action tabs. If this variable is set to TRUE, the installer will not allow the user to proceed to the next screen when the Next button is clicked; instead, the user will remain on the current screen. If set to FALSE, the installer will allow the user to proceed normally when they click Next.
This variable is useful if you want to validate the data entered by the user on a screen. If the data is incorrect, you could display an error message and set %PreventNextPage% to "true" to make the user go back and enter valid data.
The value of %PreventNextPage% is reset to FALSE every time a screen is displayed.
Hope that helps
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.