Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

How to add text to a dynamic stamp?

$
0
0

Hello everyone,

 

For our company, I have created several dynamic stamps that change the time and date. To do so, I used the following custom script :

 

event.value = (new Date()).toString();

AFDate_FormatEx("h:MM tt, mmm dd, yyyy");

 

However, I cannot make the field adapt to the server it is on. Each employee has a different computer with their own log-in, and I want to make a dynamic stamp that can change the name in the stamp depending on the user.


For example, our stamp currently says:

RECEIVED

Time, Date, Year (the latter being dynamic)

 

What I am trying to do is:

RECEIVED

By NAME (a dynamic fieldthat can adapt to the name of the server it is on), Time, Date, Year (also a dynamic field

 

Does someone know the script to enter in the "Custom Calculation Script" box to do so?

 

Thank you for your help!

 


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>