Currently I'm showing a checkbox for Terms and Privacy links using the <parametergroup> and I would like to disable the Next button if user don't check that checkbox. Appreciate if someone can help me how to do. Thanks in advance.

asked 27 Mar, 15:50

Siddu's gravatar image

accept rate: 0%

It's not possible to disable the next button but you can use a <validationActionList> to prevent the user from continuing the installation.

In the following example the <showquestion> action has a rule checking for the value of the checkbox. If the value is false the user will be asked if he wants to quit.. If the user answers no, we use <setinstallervariable> to set the next_page variable to be the same page to prevent the installer from continuing to the next page. If the user answers yes the installer will quit.

      <description>Deselect this box if you do not agree with the Terms and Conditions</description>
      <text>Do you want to quit?</text>
        <compareValues logic="equals" value1="${choice}" value2="0">
        <compareText logic="equals" value="${quit}" text="yes">
    <setInstallerVariable name="next_page" value="termsAndConditions">
        <compareText logic="equals" value="${quit}" text="no">

answered 30 Mar, 06:38

Michiel's gravatar image

Michiel ♦
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 27 Mar, 15:50

Seen: 84 times

Last updated: 30 Mar, 06:38