1 Reply Latest reply on Apr 18, 2007 4:40 PM by kglad

    using form variables for simple authentication

    ionic77
      hey all,

      i'm trying to build a simple password authentication system using a textfield. what sort of validation should i use to check the contents of the form field?

      here's my button code:

      on(release) {
      set("forminfo", formfield);
      if (_level0.forminfo == "123") {
      gotoAndPlay("correct");
      }
      }

      "formfield" is the name of the input text field and "forminfo" is the variable i'm using as a password

      thanks!