# Changing Initial Text based off of MC

**URL:** <https://cl.desmos.com/t/changing-initial-text-based-off-of-mc/3964>\
**Category:** Questions\
**Created:** [January 16, 2022, 4:21am UTC](https://cl.desmos.com/t/changing-initial-text-based-off-of-mc/3964 "2022-01-16T04:21:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akhounm](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@akhounm](https://cl.desmos.com/u/akhounm)\
**Post date:** [January 16, 2022, 4:21am UTC](https://cl.desmos.com/t/changing-initial-text-based-off-of-mc/3964/1 "2022-01-16T04:21:01Z")

</div>

Hi all, I need help with slide 2. How do I code the initial text so that if a student clicks submit after their explanation and wants to change their answer, the initial text resets so that it aligns with that particular initial text?

For example, if I click Symmetric, type in my explanation and submit it, but then I realized that it’s Skewed to the Left, how do I change the initial text so that it actually says "I know the data is Skewed to the Left because… "

I feel like I have to do something with reset but don’t know how to do it.

> **[Testing Stats • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/61e3922559e6ac5475d0b6d1)**
>
> by Andy Khounmeuang \_ Staff - PantherCreekHS

---

<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 16, 2022, 2:42pm UTC](https://cl.desmos.com/t/changing-initial-text-based-off-of-mc/3964/2 "2022-01-16T14:42:37Z")

</div>

The initial latex is exactly what it says…initial. It’s not dynamic, meaning that if something is changed, it will not update. If you want the prompt to change based on your description, maybe you could set that prompt in a separate note and input component that appears after the student makes a selection.

In the note component CL:

```auto
hidden: not(MC.isSelected(1) or MC.isSelected(2) or MC.isSelected(3))

choice = 
  when MC.isSelected(1) "${MC.choiceContent(1)}"
  when MC.isSelected(2) "${MC.choiceContent(2)}"
  when MC.isSelected(3) "${MC.choiceContent(3)}"
  otherwise ""

```

Then type this text in the actual note: `I know the data is ${choice} because...`

Then for the text input, we just want to conditionally hide it.

```auto
hidden: not(MC.isSelected(1) or MC.isSelected(2) or MC.isSelected(3))

```
