title: Multiple conditions in conditionPanel in R
body: <p>I'm struggling to create selectInput menus that only appear when a particular tab is selected and have an additional selectInput menu appear that is specific to what can be selected in the other menu.
  Below is a brief reproducible example </p>
  
  <p>ui.R</p>
  
  <pre><code>    library(shinydashboard)
  
  ui &lt;- dashboardPage(
    dashboardHeader(title="Essential Fish Habitat Application"),
    dashboardSidebar(
    sidebarMenu(id="tab",
        menuItem ("Welcome", tabName = "welcome"), 
        menuItem("EFH Maps",tabName="map"),
        selectInput("selectSpecies", h3("Select species"),
                    c("Almaco jack" = "ALMACOJACK",
                      "Banded rudderfish" = "BANDEDRUDDERFISH",
                      "Black grouper" = "BLACKGROUPER",
                      "Blackfin snapper" = "BLACKFINSNAPPER",
                      "Blueline tilefish" = "BLUELINETILEFISH",
                      "Brown shrimp" = "BROWNSHRIMP",
                      "Cobia" = "COBIA",
                      "Cubera snapper" = "CUBERASNAPPER"),
                    selected = "ALMACOJACK"),
        conditionalPanel(condition="input.tab=='map' &amp;&amp; input.selectSpecies != 'BANDEDRUDDERFISH' ||
                          input.selectSpecies != 'BLACKGROUPER'",
                          selectInput("fishLifestage", h3("Select lifestage:"),
                                      c("Eggs"= "eggs",
                                        "Larvae" = "larvae",
                                        "Postlarvae" = "postLarvae",
                                        "Early juveniles" = "earlyJuvenile",
                                        "Late juveniles" = "lateJuvenile",
                                        "Adults" = "adult",
                                        "Spawning adults" = "spawningAdult" 
                                      ),
                                      selected = 'adult')),
       conditionalPanel(condition="input.tab=='map' &amp;&amp; input.selectSpecies == 'BANDEDRUDDERFISH' ||
                          input.selectSpecies == 'BLACKGROUPER'",
                        selectInput("shrimpLifestage", h3("Select lifestage:"),
                                    c("Fertilized eggs"= "fertilizedEgg",
                                      "Larvae, pre-settlement postlarvae" = "larvae",
                                      "Late postlarvae, juveniles" = "latePostlarvaeJuvenile",
  
                                      "Sub-adults" = "subAdult",
                                      "Non-spawning adults" = "adult",
                                      "Spawning adults" = "spawningAdult"
                                    ),
                                    selected = 'adult')))),
    dashboardBody()
  )
  </code></pre>
  
  <p>server.R</p>
  
  <pre><code>server &lt;- function(input, output) {  
  
  mapSpecies &lt;- reactive({
    switch(input$selectSpecies,
           "ALMACOJACK" = "ALMACOJACK",
           "BANDEDRUDDERFISH" = "BANDEDRUDDERFISH",
           "BLACKGROUPER" = "BLACKGROUPER",
           "BLACKFINSNAPPER" = "BLACKFINSNAPPER",
           "BLUELINETILEFISH" = "BLUELINETILEFISH",
           "BROWNSHRIMP" = "BROWNSHRIMP",
           "COBIA" = "COBIA",
           "CUBERASNAPPER" = "CUBERASNAPPER")
    })
  
  mapfishLifestage &lt;- reactive({
    switch (input$fishLifestage,
            "spawningAdult"="spawningAdult",
            "adult"="adult",
            "earlyJuvenile" = "earlyJuvenile",
            "lateJuvenile" = "lateJuvenile",
            'larvae' = 'larvae',
            'postLarvae' = 'postLarvae',
            "eggs" = "eggs"
    )
  })
  
  mapshrimpLifestage &lt;- reactive({
    switch (input$shrimpLifestage,
            "fertilizedEgg" = "fertilizedEgg",
            "latePostlarvaeJuvenile" = "latePostlarvaeJuvenile",
            "adult" = "adult",
            "spawningAdult"="spawningAdult",
            "subAdult" = "subAdult",
            "larvae" = "larvae"
  
    )
  })
  
  }
  </code></pre>
  
  <p>I want the selectLifestage menu to appear only when the EFH maps tab is selected, and depending on the species selected I want the fishLifestage vs. shrimpLifestage selectInput menus to change.  I've gotten this to work when the conditionPanel condition = two or fewer statements, but I need it to evaluate at least three.  I haven't had any luck with my searches to solve this problem so far. Any help would be appreciated! Thanks</p>