Suppose that you are adding another feature and suppose that you want to automatically fill all the fields with some values. These values should be copied from an existing feature on the map by selecting it on the map.
Example: you want to copy all the values from the red feature (labeled with road
) to the new one (bottom right corner). The new feature table should have type = road
, subtype = one-way
, width = 5
.
I cannot use the Default Value of the Attributes Form because there is not fixed rule.
The button that I'm looking for is already available in the Attribute Form when you change to Widget Type to Relation Reference
, but you need to have a Relation set up with 2 layers (so not this case).