1 Reply Latest reply on Jul 14, 2006 1:20 PM by elDonrico

    NOT IsDefined Problem

    Level 7
      I have a page that takes a url variable to populate text boxes. That works
      great when coming off the page that sends the variables. If someone tries to
      go to the page directly, I get an undefined variable error. Good enough.

      I tried:
      <cfif NOT IsDefined('#URL.demo#')>
      <cfset demo = 'sb'>
      <cfset demo = '#URL.demo#'>

      Thinking that if there was no URL.demo then it would just set the demo =
      'sb', but it doesn't seem to.

      What did I do wrong?

      Wally Kolcz
      Developer / Support