10 Replies Latest reply on Aug 5, 2006 3:46 PM by kglad

    Problem with Variables

    VaporAction Level 1
      I'm making an interactive chemistry education page and I have a problem.
      The user drags different elements onto a scale which displays the weight of the element.
      Based on the weight, the user enters the name of the element into a text field and hits enter or presses an enter button.
      If the answer is correct then "Correct" is displayed.
      If wrong, then "Try Again" is displayed.
      I have everything working except for the part where the user enters the name of the element and recieves the feedback....
      I've tried setting a variable to equal the name of the element currently on the scale and setting another variable for the input text field and then comparing the 2...
      But no matter what I type into the text field I only get the "Try Again" response...
      Please help...