1 Reply Latest reply on Nov 12, 2007 6:28 AM by kglad

    I made a code generator to validate an authentification but it doesnt work

    Venian Level 2

      I made a cod generator to generate verification codes which the user must type in in an input field. The problem is that the if() action doesn't consider weather the user typed in the code or not.

      Here is the code:

      on (release, keyPress "<Enter>") {
      if (this._parent.cod_generat_txt=_root.genVar && cod != "") {
      loadVariablesNum("codes.php", 0, "POST");
      } else {

      And the if function doesn't take into considerance " this._parent.cod_generat_txt=_root.genVar ".
      Does anyone have a clue?

      Thank you.