# Feature - OA "hide" and "show" questions based on dropdown answers

**URL:** https://discussions.eramba.org/t/feature-oa-hide-and-show-questions-based-on-dropdown-answers/1549
**Category:** Forum - Software
**Created:** [May 17, 2020, 10:39am UTC](https://discussions.eramba.org/t/feature-oa-hide-and-show-questions-based-on-dropdown-answers/1549 "2020-05-17T10:39:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![eramba](https://discussions.eramba.org/letter_avatar_proxy/v4/letter/e/c6cbf5/32.png) [@eramba](https://discussions.eramba.org/u/eramba)
#### Post date: [May 17, 2020, 10:40am UTC](https://discussions.eramba.org/t/feature-oa-hide-and-show-questions-based-on-dropdown-answers/1549/1 "2020-05-17T10:40:00Z")

</div>

Based on the answer selected on the drop down we could “hide” and “show” other questions on the frontend.

Did you go hiking? (YES|NO)  
Yes-\> show question 1.1 (which by default is hidden)

 ![image](https://discussions.eramba.org/uploads/default/original/2X/2/289d22a7728e4aee6ae05066e588bb60fd7260dc.png)

On the CSV we would need two additional columns:

- Default Visualisation: show|hide
- Action: Show1.1|Hide2.3

 ![image](https://discussions.eramba.org/uploads/default/original/2X/a/a82996958cf3eb7809a398fa780c0b2a6c6d3036.png)

We need to be careful:

- conflicting settings, if one condition shows and the other one hides .. in the end we perform the last action the user did
- backend check for incomplete submission … those that were “hidden” must not be “mandatory” even if “Complete all answers” was selected on the form
- backend check if someone tries to inject an answer even if its hidden using post

github:

---

<div class="post-metadata">

### Author: ![april-dickson](https://discussions.eramba.org/letter_avatar_proxy/v4/letter/a/e79b87/32.png) [@april-dickson](https://discussions.eramba.org/u/april-dickson)
#### Post date: [May 28, 2020, 2:02pm UTC](https://discussions.eramba.org/t/feature-oa-hide-and-show-questions-based-on-dropdown-answers/1549/2 "2020-05-28T14:02:11Z")

</div>

How will the question branching impact the question score? For example, if the question is hidden, will the question score be 0 which impacts the default Item Report chart?

---

<div class="post-metadata">

### Author: ![eramba](https://discussions.eramba.org/letter_avatar_proxy/v4/letter/e/c6cbf5/32.png) [@eramba](https://discussions.eramba.org/u/eramba)
#### Post date: [May 29, 2020, 7:03am UTC](https://discussions.eramba.org/t/feature-oa-hide-and-show-questions-based-on-dropdown-answers/1549/3 "2020-05-29T07:03:48Z")

</div>

> [@april-dickson](#):
>
> How will the question branching impact the question score?

good question we had not think about it.

all questions that have dropdown answers have scoring, if the hidden/shown questions have drop downs set as answer (they could be just paragraphs in which case scorging does not apply) then whatever is answer will count towards the scoring. if the question is “hidden” it wont be answered and no score will be added.
