Expand my Community achievements bar.

Custom Stamp Fields

Avatar

Level 1

Hello, let me start off by saying I'm a novice at this so please be patient with me. We have developed a custom stamp and when it is applied, a dialog box appears for each field in the stamp (refer attached .jpg). What I am hoping do to is rather than there being nine different boxes appear to enter the different information, that I could have one box with all the fields appear at the same time. This is the code we presently have in a "script" box:

 

if ((event.source.forReal)&&(event.source.stampName == "#AP Entry Stamp"))
{
this.getField("Job Number").value = app.response("Job Number:");
this.getField("Approved By").value = app.response("Approved By:");
this.getField("GL1").value = app.response("GL Code #1:");
this.getField("Cost1").value = app.response("Cost Code #1:");
this.getField("GL2").value = app.response("GL Code #2:");
this.getField("Cost2").value = app.response("Cost Code #2:");
this.getField("Voucher Number").value = app.response("Voucher Number:");
 
this.getField("Entered By").value = identity.name;
this.getField("Date Entered").value = util.printd("mm/dd/yy", new Date());
}

 

Picture - Stamp.jpg

Is it possible to have one dialog box appear where the data relating to all these fields is entered at once?

 

Any help you can provide is really appreciated! Thank you.

0 Replies