0 Replies Latest reply on Aug 7, 2006 7:12 AM by Newsgroup_User

    redirect after insert

    Level 7
      I made a form with impakt2

      the redirect code:

      'start trigger Redirect1
      'remove this line if you want to edit the code by hand
      sub KT_TriggerAFTER_Redirect1(byref tNG)
      dim insertGoTo : insertGoTo = "paypal.htm"
      call KT_redir(insertGoTo)
      end sub
      'end trigger Redirect1

      is it possible to change the redirect page like this:
      if WholesaleLevel = 0 insertGoTo = "ok.htm"
      else insertGoTo = "paypal.htm"

      Who can help me with the code?