'Jenkins enable text box when check box is selected

Can you please help me on how I can enable/disable a text box area based on checkbox status in Jenkins. Example: I have a checkbox called "build". If "build" is selected only than the text box area should be available for the user to enter the build number. The text box is a user input box.



Solution 1:[1]

This is achievable through a plugin named "active choices". You can take a look at it's features and documentation here: https://plugins.jenkins.io/uno-choice/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bayoudhi Bilel