2 Replies Latest reply on Apr 1, 2008 2:19 PM by (Rayne)

    question about custom trigger

    Level 1
      I am trying to pass a form variable "mathCourse" into a session variable via a custom transaction. I have tried:

      //start Trigger_Custom trigger
      function Trigger_Custom(&$tNG) {
      // set math course session
      session_register("mathCourse");
      $mathCourse = $tNG->getColumnValue("mathCourse");
      $_SESSION['mathCourse'] = $mathCourse;

      }
      //end Trigger_Custom trigger

      but that doesn't pick up the value of "mathCourse". Can someone point out to me where I am going wrong?

      Thanks so much for any help.