Announcement

Collapse
No announcement yet.

return to screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • return to screen

    I use a self defined screen "edit boxes" and want the user
    to enter some data into the fields. I want to use the
    "After installing" part to validate the users input and if the
    data is not matching certain conditions I would like the screen
    to reappear again. Is it possible to do this ?

  • #2
    Re: return to screen

    This is definitely possible using the %PreventNextPage% variable. Basically when this variable is set to TRUE then Setup Factory will not allow the next page to be displayed.

    The following is a direct quote from the User's Guide:


    %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.

    Comment


    • #3
      Re: return to screen

      Thank you very much! That's exactly the information I was looking for!

      Comment

      Working...
      X