# Master Mapping

We'll start by creating a master form first where we would map the values.

In the basic details under ***'**&#x41;pply master data settings',* turn on *'Use form submissions as master data for other forms'.*

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc6E3BSGr4i8kVdH38k%2Fuploads%2FFMFR7zqw9xudEMwLVbaL%2Fimage.png?alt=media\&token=ab3edc8d-1906-4b71-9b9e-b2190ec9b98f)

The master form would have 3 select type fields **Purchase Type, Item Name** & **Item Price.**&#x20;

<table data-header-hidden><thead><tr><th width="179.12212802630438"></th><th width="229.92385819085092" align="center"></th><th align="right"></th></tr></thead><tbody><tr><td>Purchase Type</td><td align="center">Gadgets, Stationery, Pantry</td><td align="right">Price</td></tr><tr><td>Gadgets</td><td align="center">Mouse, Keyboard, Monitor</td><td align="right">450, 650, 1200</td></tr><tr><td>Stationery</td><td align="center">Pen, A4 Sheets</td><td align="right">200, 450</td></tr><tr><td>Pantry</td><td align="center">Coffee, Muffins</td><td align="right">200, 300</td></tr></tbody></table>

**Onc**e the options have been added go to **Settings > Conditions > Conditional value of fields** and map the data as per the table above.&#x20;

Now we'll make the child form with similar fields.

Create another form with the select fields **Purchase Type, Item Name & Item Price** and a text field **Employee Name.**&#x20;

Once we've made the form we'll pick master for the fields separately.

* Click the **settings** icon next to the select fields and open **Master data settings**.
* **Toggle on** *'I want to pick master for this field separately'.*
* Select the master form we made previously.
* ***'Select the master field from which value should be populate'***

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc6E3BSGr4i8kVdH38k%2Fuploads%2FOTlkJr6dl2PQyZFFJYdB%2Fimage_2022-01-25_121032.png?alt=media\&token=be7d0eac-1cf1-46fb-b265-e403c8e45f2e)

Similarly select master for the remaining two fields **Item Name** & **Item Price**.

Last step of the process would be adding conditional settings in this form.

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc6E3BSGr4i8kVdH38k%2Fuploads%2Fbp1ZnxtGauF8qYrP9FwN%2Fimage_2022-01-25_121549.png?alt=media\&token=edb16317-820d-4616-8394-fa1ed2962627)

Just like the master form, we'll map **Purchase Type** with **Item Name** and **Item Name** with **Item Price**.&#x20;

Here's how it would look like to the end user.

![](https://4216568905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mc6E3BSGr4i8kVdH38k%2Fuploads%2FqhvcRr7TyQJSabSVxp7a%2FWhatsApp%20Image%202022-01-25%20at%2012.20.40.jpeg?alt=media\&token=3c539777-c6f7-4bb7-9184-5ddcbf58d470)

As per the data in the master form, options would populate the select fields.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.senpiper.com/form-builder/creating-forms/additional-form-settings/conditions/conditional-values-of-fields/master-mapping.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
