The original version of this document is located at https://docs.qfield.org/how-to/advanced-how-tos/live-default-value
QField is supporting the “live” updating of default attribute value when editing features.
This means, when changing one value in an attribute another automatically adjusts.
Examples for this could be species names that are both recorded with the original species name and the common name.
Workflow
🖥️ Desktop preparation
In this example, the image will automatically update when a different plant_species is chosen.
Toggle the apply default upon update.

Go to the plant_species field where your value relation is set as a widget type.
Add the following expression as shown below into the default value.

Press Ok and save.
Example
In the video below there is an example of “live” default value updates when editing features on QField.
