Hey,
i am developing a macro plugin for confluence.
I want to achieve that my macro browser hides / shows fields based on my input on other fields.
Example: I have a Dropdown with the values "a", "b".When i select "a", i want to show another dropdown.When i select "b" i want to show a String input field, but hide the dropdown that is shown when selecting "a".
I know i can achieve this with javascript and already found this to hide fields:
including-information-in-your-macro-for-the-macro-browser
I am new to JavaScript and i can't figure out how to add trigger to specific dropdown values, to achieve my goals.