# Quiz text box HELP

**URL:** <https://forum.kirupa.com/t/quiz-text-box-help/260329>\
**Category:** Uncategorized\
**Created:** [May 14, 2008, 2:17pm UTC](https://forum.kirupa.com/t/quiz-text-box-help/260329 "2008-05-14T14:17:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel000](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@daniel000](https://forum.kirupa.com/u/daniel000)\
**Post date:** [May 14, 2008, 2:17pm UTC](https://forum.kirupa.com/t/quiz-text-box-help/260329/1 "2008-05-14T14:17:16Z")

</div>

Hi, creating a quiz and with one question i have a text feild for an answer using the text input component

the code on the frame for this is as follows

```auto
function score7() {
    AnswerQ7 = Q7_txt.text;
    if (AnswerQ7 == "gotoAndStop(5)" ) {
        userScore++;
    }
}

```

with the component labled Q7\_txt the userScore does not update on the next frame?  
what can i do ? any other code to use ?
