Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-04-2012, 12:08 PM   PM User | #1
Branchard
New to the CF scene

 
Join Date: Apr 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Branchard is an unknown quantity at this point
Question Javascript Code for Adobe Dynamic Stamp

Hello -

I am new to creating dynamic stamps in Adobe, but what I have at the moment is the following code pulling in the date automatcially for me:

Code:
 event.value = (new Date()).toString();
AFDate_FormatEx("mm/dd/yy");
This is working great. Now what I need to do is put a set of initials in front of the date it is pulling in. And I have been successful with several sets of initials. Such as:
Code:
 event.value = (new Date()).toString();
AFDate_FormatEx("BS mm/dd/yy");
But when I enter an "M" or "H", the dynamic stamp pulls in the current hour for H and the current minute for M.

So I am wondering if there is another code I can implant within the dynamic stamp to put the initials right before the date??

Any help would be appreciated.

Thanks,
Brandy
Branchard is offline   Reply With Quote
Old 04-04-2012, 02:58 PM   PM User | #2
Branchard
New to the CF scene

 
Join Date: Apr 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Branchard is an unknown quantity at this point
Nevermind! I figured it out
Branchard is offline   Reply With Quote
Reply

Bookmarks

Tags
code, dynamic, initials, stamp

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:04 AM.


Advertisement
Log in to turn off these ads.