1 Reply Latest reply on May 13, 2011 11:06 AM by migueldmag

    quick question - making button visible if two conditions are met

    madhooper Level 1

      I simply want a button to be visible is once condition is true and another condition is false. Shouldn't this line of code work?

       

      <mx:Button

       

      id="Btn"

      label="

      Submit"

      color="

      #FF0000"

      enabled="

      {islRequired}"

      visible="

       

      {!.isAdmin}  {isRequired}"

      click="submit()"

       

       

      />

      isadmin = false

      isrequired = true

       

      the button should be visible

       

      Am I missing something?