Expand my Community achievements bar.

check (current) date

Avatar

Level 2

Hi,

I’ve got a field of the current date which can be changed into another date. The new date is been checked but only for one time and although the error message appears, the wrong date is been shown.

Can anybody help me please? I think I must write a script code there.

Frage.pngFrageZusatz.png

Wright?

Thanks in advance!

Matthias

1 Reply

Avatar

Level 10

Hi Matthias,

If you are using the 'current date' field from the custom objects, then the script is in the layout:ready event.

If you move this script to the docReady event it will fire only once and will allow the user to override the date.

Sample here: https://acrobat.com/#d=QR1y1RYatwSaQAWa4-jLlA

Good luck,

Niall