View Full Version : Backing up a page
delisef
02-16-2004, 08:58 AM
Is there a way in SUF to go back a page?
For example, if the user types in an invalid path for an install folder, I would like to prevent them from going forward, or make it back up a page.
Any ideas?
-Frank D
Brett
02-16-2004, 10:02 AM
From the help file:
%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.
delisef
02-16-2004, 12:43 PM
Thanks!
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.