0 Replies Latest reply on Oct 15, 2008 8:45 AM by Dave Blake

    Passing Variables

    Dave Blake Level 1
      I am trying to pass variables from a form movieclip in flash to a cfm page that ouputs an email. The submit button itself is not within the form, so its code is as follows:

      on(release)
      {
      if(form.name eq "" || form.phone eq "" || form.email eq "")
      {
      form.gotoAndStop (3);
      }
      else
      {

      form.loadVariables("F22Order.cfm", "", "POST");
      }
      form.gotoAndStop (4);
      }


      This gives me an internal server error. If however, I swap out get URL for loadVariables, it functions.

      What am I doing wrong here as I don't want it to open up a new browser page in this function.

      Thanks,
      Dave