Copying a field content to another field in the same library using JS
69 views
Skip to first unread message
Aly IGERY
unread,
Aug 15, 2025, 1:11:58 PMAug 15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mementodatabase
In a library, I have two date fields, <Begin> and <End>, in the format [15.08.2025, 19:00:05]. Does anyone know a JS code that transfers the same content from <Begin> to <End>?
Thanks in advance...
Er Mo
unread,
Aug 15, 2025, 2:51:45 PMAug 15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mementodatabase
Skript
var dat = entry().field("Begin").getTime()
entry().set("End",dat)
Ernst
Aly IGERY
unread,
Aug 15, 2025, 4:29:58 PMAug 15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message