1 Reply Latest reply on Jul 18, 2007 8:37 AM by Newsgroup_User

    Optional region linked to list/menu box ?

    vanhee
      I want to use a list/menu box to select e.g. a language and then show depending on the selected language the correct 'optional region'.

      In the condition of the 'optional region' I do not succeed to enter the value/parameter or name of the listbox,
      tried different ways but without any success,

      Can anyone help me with the correct syntax to connect the condition of the region to the selection of the listbox ??

      Below one of the syntaxes I tried :

        • 1. Re: Optional region linked to list/menu box ?
          Level 7
          You cannot do this. Making a selection from the list would imply a Run-time
          function, but DW's template regions are only DESIGN-TIME functions - thus,
          they only work while you are IN DW, not when you publish the page. You
          would have to use server scripting to accomplish this.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "vanhee" <webforumsuser@macromedia.com> wrote in message
          news:f7lacu$i93$1@forums.macromedia.com...
          >I want to use a list/menu box to select e.g. a language and then show
          >depending
          > on the selected language the correct 'optional region'.
          >
          > In the condition of the 'optional region' I do not succeed to enter the
          > value/parameter or name of the listbox,
          > tried different ways but without any success,
          >
          > Can anyone help me with the correct syntax to connect the condition of the
          > region to the selection of the listbox ??
          >
          > Below one of the syntaxes I tried :
          >
          >
          >
          > <select name="LANGUAGE" id="LANGUAGE">
          > <option value="1" selected>English</option>
          > <option value="2">Francais</option>
          > <option value="3">Deutsch</option>
          > </select>
          >
          > <!-- TemplateBeginIf cond="@@("LANGUAGE")@@==1" --><!--
          > TemplateBeginEditable name="EditRegion1" -->
          > This is the text for English
          > <!-- TemplateEndEditable --><!-- TemplateEndIf -->
          >