View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Screen customization plugin - set date automatically ? - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

[SOLVED] Screen customization plugin - set date automatically ?

More
03 Sep 2021 17:01 #1 by caccia
Hi,

Is it possible using the Screen Customization plugin to automatically set the value of a date field ?

In our process, we have a proofreading phase before a document can be sent for approval.
My requirement is the following : 
- add a "proofreading date" field on Documents.
- when the document reaches the "review completed" status, automatically set the "proofreading date" to the current date.

Would this be possible ?

Regards

 

Please Connexion or Create an account to join the conversation.

More
03 Sep 2021 17:57 - 03 Sep 2021 17:58 #2 by babynus
Yes, it is possible with latest version of Screen Customization plugin (I'm not sure it will work with older)
You have to set default value to 
#####EVAL##### ($this->idStatus==99 and $this->proofreadingDate is null)?date("Y-m-d"):null;
(in this exemple, id of status "review completed" is 99
and then set the field proofreadingDate as readonly (othewise default value is evaluated only at creation)

Babynus
Administrator of ProjeQtOr web site
Last edit: 03 Sep 2021 17:58 by babynus.

Please Connexion or Create an account to join the conversation.

More
03 Sep 2021 18:04 #3 by caccia
Wow, amazing 
Thanks !

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.032 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.