# Showing the input box only if previous answer is correct

**URL:** <https://cl.desmos.com/t/showing-the-input-box-only-if-previous-answer-is-correct/683>\
**Category:** Questions\
**Created:** [January 18, 2020, 6:59pm UTC](https://cl.desmos.com/t/showing-the-input-box-only-if-previous-answer-is-correct/683 "2020-01-18T18:59:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Svetlana\_Yushmanova](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/svetlana_yushmanova/32/479_2.png) [@Svetlana\_Yushmanova](https://cl.desmos.com/u/Svetlana_Yushmanova)\
**Post date:** [January 18, 2020, 6:59pm UTC](https://cl.desmos.com/t/showing-the-input-box-only-if-previous-answer-is-correct/683/1 "2020-01-18T18:59:29Z")

</div>

> **[Trigonometri rätvinkliga trianglar • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5e230dfb4c7a7478b40028d0)**
>
> by Svetlana Yushmanova

In slides 2-4 how do I make the input box appear only after the student has dragged the point to its correct location?

Thank you  
/Svetlana

---

<div class="post-metadata">

**Author:** ![cwinske](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/cwinske/32/3106_2.png) [@cwinske](https://cl.desmos.com/u/cwinske)\
**Post date:** [January 21, 2020, 4:34pm UTC](https://cl.desmos.com/t/showing-the-input-box-only-if-previous-answer-is-correct/683/2 "2020-01-21T16:34:30Z")

</div>

I don’t believe this is possible. You can disable the submit button, but that also doesn’t look like an option for text input. If you change it to math input, the submit can be disabled until the graph is correct while also having students provide an explanation. Here’s an example.

> **[Submit Disabled Conditional with Explain • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5e2726d3e80c07581431ce8f)**
>
> by Craig Winske

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [January 21, 2020, 6:59pm UTC](https://cl.desmos.com/t/showing-the-input-box-only-if-previous-answer-is-correct/683/3 "2020-01-21T18:59:25Z")

</div>

Instead of an input box, you could use a table for student answer. Looking at slide 2, if students are entering an answer into row 1, column 2 of the table.

#allows cell (1,2) to be edited if a=6  
isEditable(1,2): graf1.number(“a”)=6

You could also conditionally set the question to be visible in it’s own cell by using cellContent()
