Is it possible to display checkboxes with InstallBuilder?

Answered

Comments

1 comment

  • Avatar
    Jake

    InstallBuilder is able to display checkboxes in the parameters. To do so, you need to define a <booleanParameter> specifying <displayStyle> to be either checkbox-left or checkbox-right. The snippet of code below does it:

    <booleanParameter>
      <name>perform_action</name>
      <description>Would you like to perform 'action'?</description>
      <title>My checkbox</title>
      <displayStyle>checkbox-left</displayStyle>
    </booleanParameter>
    

    You can group different boolean parameters under a <parameterGroup> so that different checkboxes are displayed in the same installation screen.

Please sign in to leave a comment.