Highlighted

" H" is converted to Hour

New Here ,
Sep 10, 2020

Copy link to clipboard

Copied

I am trying to script a dynamic stamp.

While I am adding menu in Javascript , wherever I use alphaber -"H" it is converted to Hour. How can I resolve this.

 

 

var DateDlg = {  result: "cancel",  DoDialog: function () { return app.execDialog(this); },
              strDefFmt: "mm-dd-yyyy",
              strFmt: "SCHEDULED ",
              vDate: new Date, strDate: "",

TOPICS
Acrobat SDK and JavaScript, Security digital signatures and esignatures, Standards and accessibility

Views

24

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

" H" is converted to Hour

New Here ,
Sep 10, 2020

Copy link to clipboard

Copied

I am trying to script a dynamic stamp.

While I am adding menu in Javascript , wherever I use alphaber -"H" it is converted to Hour. How can I resolve this.

 

 

var DateDlg = {  result: "cancel",  DoDialog: function () { return app.execDialog(this); },
              strDefFmt: "mm-dd-yyyy",
              strFmt: "SCHEDULED ",
              vDate: new Date, strDate: "",

TOPICS
Acrobat SDK and JavaScript, Security digital signatures and esignatures, Standards and accessibility

Views

25

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 10, 2020 0
Adobe Community Professional ,
Sep 10, 2020

Copy link to clipboard

Copied

Please post the rest of the code.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 10, 2020 0