Automatic change of a field alias based on another field value (for a single given layer). #4611
-
Hello everybody. I'm trying to build a QFIELD project that automatically (for a given layer) changes the alias of one field based on the value of another field. Let's say I have, for a point layer, one field called "Nom" and the other one "Element". The "Element" field widget is set as a list of possible values, while the "Name" field widget is set as a character entry. Here's the code I put into the expression calculator near the Alias (in the attribute form) of the "Nom" field : Do you have any idea why it doesn't work ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @quentnt1! Thank you for your message. Unfortunately, QField currently doesn't support dynamic aliases. The alias for a field is static and can't be changed based on the value of another field. This is likely why your expression isn't having the desired effect in QField. We highly value your input and have added your suggestion to our QField Idea Platform. This platform allows users like yourself to upvote ideas that they find useful. However, if you're interested in sponsoring this feature, please drop an email to [email protected]. Your sponsorship could help us prioritize and implement this functionality sooner. Best Regards! |
Beta Was this translation helpful? Give feedback.
Hello @quentnt1!
Thank you for your message. Unfortunately, QField currently doesn't support dynamic aliases. The alias for a field is static and can't be changed based on the value of another field. This is likely why your expression isn't having the desired effect in QField.
We highly value your input and have added your suggestion to our QField Idea Platform. This platform allows users like yourself to upvote ideas that they find useful.
However, if you're interested in sponsoring this feature, please drop an email to [email protected]. Your sponsorship could help us prioritize and implement this functionality sooner.
Best Regards!
Zsanett