Results 1 to 3 of 3

Thread: How disabled finish button in wizard

  1. #1
    Join Date
    May 2006
    Posts
    14

    Default How disabled finish button in wizard

    Hi,

    I want to disabled the finish button while the user isn't on the last page. How can I do that?

    Thanks
    Alex.

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney
    Posts
    503

    Default

    By convention, its normal to hide/disable the finish button unless its possible to actually finish the wizard.

    You can also override isFinishRequest, which by default checks for a _finish parameter in your form post.

  3. #3
    Join Date
    Aug 2005
    Location
    Austin, TX
    Posts
    425

    Default

    The Wizard interface defines the method canFinish(). The WizardDialog tests this method to enable/disable the finish button.

    Take a look at WizardDialog.updateButtons for the details.

    Larry.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •