4 Replies Latest reply on Oct 22, 2015 3:56 AM by try67

    how to create .js file

    omanbux Level 1

      Hi, can u pls tell me how i can convert bellow code into ".js" file. so after install that file, it should visible under "Add-ons Tools" & can run. thanks..

       

      bellow code using to delete all the available radio buttons.

       

      for (var i=(this.numFields-1); i>=0; i--) {
      var f=this.getField(this.getNthFieldName(i));
      if (f.type == "radiobutton") {
      this.removeField(this.getNthFieldName(i));
      }
      }