Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a possibility to load dynamic content on a page after checking a checkbox?

Hannes_Bo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2019

Hi,

first of all: hopefully this isn't a question which was already answered several times ago.

My problem:

In our company, we create process guidelines on confluence pages. These process guidelines (usally only text, sometimes diagrams) should only appear / be displayed on the same page, if a user check a specific checkbox. For example:

User XYZ checks the checkbox "process guideline making coffee" and after checking, the diagram or text of the guideline should be displayed right under the checked checkbox.

If user XYZ checks another checkbox (e.g. "process guideline activating air conditioning") a differnt content (e.g. "the text/diagram of the air conditioner guideline") should be displayed under the checked checkbox.

 

Is there a -more or less- "easy" solution which covers my issue?

I already thought about using a combination of a user written macro for checkboxes, combined with the standard "Expand" macro, but I'm not really sure how to do this. And anyway, I'm not a programmer and trying to combine both macro's would probably result in a mass chaos in our confluence....

 

Thanks in advance!

 

Best regards,

Hannes

1 answer

1 accepted

0 votes
Answer accepted
James Dellow
Community Champion
June 26, 2019

I answered this in relation to Confluence Cloud recently. This will be easier to achieve in the server version of Confluence, but still isn't something that can be done out of the box. You were heading in the right direction of looking at User Macros. Rather than ticking boxes, you might be able to use labels to pick what should appear on the page.

Hannes_Bo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 27, 2019

Thanks for your advise!

I will try to create my own macro which covers my issue and will paste my solution here.

Like James Dellow likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events