4 Replies Latest reply on Apr 4, 2016 12:51 PM by gkaiseril

    Simple Show Hide Button

    jeremy0013 Level 1

      I have been through the forum and this make sense to me but can't see to get this to work.  I have this set up on click to run script. Please help.

       

      var title = this.getField ("ButtonToHide");

       

      if (this.getField("info_Company Name").value == "MyCompany")

      { title.display = display.visible; }

       

      else

      { title.display = display.hidden; }