Thanks Andreas and Harrissou for the clarification. Actually what is confusing me is that the variable @current_feature is suggested in bold directly in the Expression Builder within the Attribute Forms.
I know that variable depends on the scope (e.g. @symbol_color) but I thought that IF a variable is suggested then it should be available in that context. I prepared a super small project faunalia.eu/~matteo/bug.zip if you try to add a feature to the point layer you will see that one filed is working and the other not. Cheers and thanks Matteo _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer