Get Text field from user-selected Option

Comments

1 comment

  • Official comment
    Avatar
    BitRock support

    Unfortunately it is not possible to retrieve text values of the messages.

    What you could do is include all of your option values as custom language strings using <customLanguageFileList> option.

    Your custom messages could include values such as

    choice.myChoice.option1=Option 1 text
    choice.myChoice.option2=Option 2 text

    You can then reference those - such as ${msg(choice.myChoice.option1)} as the text in the <choiceParameter>, as well as ${msg(choice.myChoice.${myChoice})} if you want to get the specific text message.

    This will also work with installers that support multiple languages.

    Creating custom messages and/or overriding built-in text strings is documented in more details here:

    https://clients.bitrock.com/installbuilder/docs/installbuilder-userguide/ar01s12.html#built_in_strings

    Comment actions Permalink

Please sign in to leave a comment.