9 Replies Latest reply on Jan 2, 2018 1:02 PM by paigen17377757

    Autofill text box based on radio button choice

    paigen17377757 Level 1

      We have tried a variety of methods and javascript and absolutely nothing will work. Ideas and help are greatly appreciated!


      Here are two codes we tried with no luck:


      var A = this.getfield("Group16").value;

      var Y = this.getfield("Text21").value;

      var Z = this.getfield("Text22").value;



      if (A=="Choice1")

      document.getElementById("Text27").value = Y;

      else document.getElementById("Text27").value = Z;






      var S = this.getfield("Text21").value;

      var T = this.getfield("Text26").value;





      var S=this.getfield("Text21")



      var S=this.getfield("Text26")