How do I enable/disable a stringParameter on selecting/deselecting a booleanParameter on the same page?



1 comment

  • Avatar

    To do that, you would need to use a <booleanParameterGroup>, introduced in InstallBuilder 8:

       <description>Advanced Mode</description>
             <description>Email notifications</description>
                <option description="Always send notifications" text="Always" value="always"/>
                <option description="Never send notifications" text="Never" value="never"/>
          <stringParameter name="subject" description="Notifications Subject" value="[NOTIFICATION] #"/>
          <directoryParameter description="Cache Dir" name="cacheDir" value="${system_temp_directory}/cache"/>

    Please note this widget includes the checkbox so you have to remove the <booleanParameter> you are currently using. You can find additional information as well as screenshots here.

Please sign in to leave a comment.