The variable won't pass

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default The variable won't pass

    The problem I am having is with setting a variable which would hold an id and
    it would be used on multiple pages. The variable should change when you change
    the selection on the forms menu just about it but it wont even initially set
    it. The navigatin page which is where this is on, is an include and is run on
    everypage. Also I've tried passing it up into the url, but that doesn't work,
    and I've tried onchanges for the menu so that onchange it puts the new id in
    the url, but again it said my form item was not defined.

    Anybody help?

    weswhite7 Guest

  2. Similar Questions and Discussions

    1. How to pass a variable to a second page
      i have a page that i need to set a variable in and pass it to another page in my site but i cannot do it through a url because the second page once...
    2. Login needs to pass variable
      The profile form CFINCLUDEs the login page in the header. If I attempt to view the profile.cfm?userID=XX I am switched to the login form as...
    3. How to pass a variable to .t file
      Can someone help me understand how does one pass variable to a Perl test script from the calling program? Is such a mechanism available? To...
    4. [PHP] Still can't pass variable through url
      <?php $year=1999; $month=march; echo "<a href=\"http://www.thingamajigger.com/index.php?year=$year&month=$month\" ?>
    5. Can't Pass variable to other page
      Jack wrote: IIRC, a default installation does not automatically make global variable ou of GET parameters. try: <? echo $_GET.'<br />'; echo...
  3. #2

    Default Re: The variable won't pass

    I can tell you that for varibles to be passed to a include page you must use
    Attributes in the include statment.

    For varibles to be passed back to the parent page from the include page you
    must set Caller varibles from the include page.

    Let me know if this helps you.

    Vbprog40 Guest

  4. #3

    Default Re: The variable won't pass

    actually whats funny is that about 10 minutes after i posted this, i pretty
    much found the most simplistic way by including a "Go" button, so on
    form.submit reprocess the url with cflocation url and add the variable

    weswhite7 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139