View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Define the default value of a predefined Field - ProjeQtOr

Prochaines sessions de formation

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

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Define the default value of a predefined Field

More
03 Jan 2019 14:17 #1 by tms
Hello,

With the screen customization plugin, I have created some custom fields (in the project Screen). My aim is to define a default value for a predefined field (in the same screen). I want the value of this predefined field to be the same as the one of a custom field (I have added). I know that I can use an evaluated formula (###EVAL###myEvaluationFormula) with the functions defined in Projeqtor. Do you know which function allows to get the value of a custom/predefined field? Thank you in advance for your return.

Best regards

Please Connexion or Create an account to join the conversation.

More
03 Jan 2019 15:25 #2 by babynus
Just
###EVAL### $this->yourField;
But notice it is only a "default" value, and formula will be applied only on creation (possibly yourField is not set yet).
To have yourField evaluated at each change of yourFiled, only solution is to set the defautl field as "readonly", then the default value will become a calculated value.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
03 Jan 2019 15:44 - 03 Jan 2019 15:45 #3 by tms
Thank you for your quick answer. I tried that before. But it wasn't working. I think it's because my predefined field is in the screen "projet - Avancement" and my custom field in the screen "projet" (when using the plugin).
Best regards
Last edit: 03 Jan 2019 15:45 by tms.

Please Connexion or Create an account to join the conversation.

More
04 Jan 2019 19:47 #4 by babynus
So you may try
###EVAL### $this->ProjectPlanningElement->yourField;
or possibly
###EVAL### $value=$this->ProjectPlanningElement->yourField;

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: tms

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.044 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.