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

[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 Log in 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 Log in or Create an account to join the conversation.

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

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.043 seconds

Cookies settings

×

Functional Cookies

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

Please login to see yours activities!

Other cookies

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