Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Pre-populating Server's Current Date in the form- How to??

Avatar

Level 10

The simplest way of doing this is writing one-line formcalc script.

This is not fair when the user changes his local system date/time.

I need to know how to pre-populate the server date in the form?

One way of doing this is writing a web service.

Any other simple solution to do this??

Thanks,

Nith

2 Replies

Avatar

Former Community Member

If you are using LiveCycle Forms (7.x, ES, or ES2), with .pdf rendering on the server or the client, you can execute the script server side. Otherwise you have no other option but to access an external resource (REST, Web Service, JSP/servlet, etcetera) for the time, if you need to accurately capture form open time on the desktop.

Steve

Avatar

Level 10

Hi Steve,

I'm using LiveCycle ES. So, Server side render is okay for me!

Thanks,

Nith