View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Screen customization: How to display a default value for a drop down list ? - 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)

 

 

 
 

Screen customization: How to display a default value for a drop down list ?

More
07 Fév 2020 10:14 #1 by fmartin
I'd like to display in a mandatory field a string that displays a message to user such as: "Select Responsible".

"Select Responsible" is not an element of the list of course. Moreover, upon saving the ticket, if the field is mandatory and that "Select Responsible" is still present, an error should pop up to warn the user the field is mandatory.

At the moment, when saving the ticket with such a value, the user gets logged out automatically (bug reported in the "Submit Issue" section).

Maybe I'm doing things wrong:
This is what I typed in the default value of the field:

###EVAL### $value='Select Responsible';

Please Connexion or Create an account to join the conversation.

More
07 Fév 2020 16:53 #2 by babynus
Hi,

Your value is valid for an input field, but not for a list.
Values stored for lists are integers (the id of the selected item, not the displayed value).
When you commit the form, fields are checked, and non numeric values in list fields will be considered as a hack attenps, and so user is disconnected.

What you try to do is not possible.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

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