Copy link to clipboard
Copied
Hi All,
I am trying to create a dynamic stamp, I followed the steps from this youtube
How To Make A Dynamic PDF Stamp - YouTube
The code:
if ((event.source.forReal)&&(event.source.stampName == “#MyTestStamp”))
{
this.getField(“Creditor”).value = identity.name;
this.getField(“Code”).value = app.response(“Code”);
this.getField(“Date”).value = util.printd(“dd/mm/yyyy”, new Date());
}
I cannot get pass the JavaScript Editor, as seen the screen shot below
Any help would be appreciated.
Cheers
1 Correct answer
Use " not “
Copy link to clipboard
Copied
Use " not “
Copy link to clipboard
Copied
Hi
I am not sure what you meant by use "not"
Cheers
Copy link to clipboard
Copied
You must only use straight quotes (like this: " ), not curly ones (like this: “ or ” ).
Copy link to clipboard
Copied
thank you and sorry for not to reply sooner

