3 Replies Latest reply on May 29, 2015 10:56 AM by try67

    Only date is appearing on stamp

    nickyh222

      Thanks for the code snippet David !

      Can anyone tell me why only the date appears after the user gives the input to 3 fields.

      THe pop ups work fine but only the date gets written into the stamp.

      I only have this code in on oc the custom calculations field.

      Any help is greatly appreciated/

       

      if ((event.source.forReal)&&(event.source.stampName == "#yby62xQyvFKxmweUAU3suA"))
      {
      var rsp=app.response("Please enter the date","",util.printd("mm/dd/yyyy", new Date()));
      if(rsp){this.getField("Date").value=rsp}
      var rsp2=app.response("Vendor Contacted");
      if(rsp2){this.getField("Vendor").value=rsp2}
      var rsp3=app.response("Reason for challenge");
      if(rsp3){this.getField("Reason").value=rsp3}
      }


      thank You