> For the complete documentation index, see [llms.txt](https://manual.blocworx.com/blocworx-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.blocworx.com/blocworx-documentation/bloc-editor/managing-a-field/field-rules/populate-local-field-with-data-from-another-local-field.md).

# Populate local field with data from another local field

This is for taking data from one field and copying it somewhere else in the same bloc. This rule can be applied to any field even though it might be controlling things between two other fields.

{% hint style="success" %}
Hint: You could apply this rule to a button press in order to trigger the copying of the data from one field to another, even though the rule will be set on the button, there will be no data from the button itself being used.
{% endhint %}

![](/files/-Ma4t4JXxExdEh3v2UI2)

### Rule Parameters

| Parameter               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Local Field to fetch    | The field that contains the data that we want.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Local field to populate | The field that we want to move the data to, i.e. the destination field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Overwrite existing data | <p><strong>Yes:</strong> Simply overwrites and wipes any data that might be on the destination field to populate. So even if the local field has nothing, the destination field gets wiped blank.</p><p></p><p><strong>No:</strong> If there is data already in the destination field then it does nothing.</p><p></p><p><strong>Ignore if blank:</strong> If the local field to fetch has no data, then nothing will happen to the destination field.</p><p></p><p><strong>Append to Data:</strong> It will add the value of the local field to fetch onto the end of whatever is currently in the destination field. This would mean if you kept triggering this rule the data in the destination field would get longer and longer.</p> |
