> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.teeinblue.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Auto-populate values from other options (Maps, Star maps...)

This article will show you how to set these following cases using the "Populate values from other options" feature:
* Auto-fill coordinates (latitude, longitude) or place name from Maps to a text field
* Auto-fill coordinates, place name, or time from Star maps to a text field

![](https://storage.crisp.chat/users/helpdesk/website/6085dc2a7293d800/image_1grnsw6.png)

In this example, if the Map Location is set to **Berlin, Germany**, both the text field and the Live Preview will automatically set to **Berlin, Germany** as well.

To do so, please follow these steps:

## 1. Create a text field

* Create a text layer, then open its settings and expand the **POPULATE VALUES** section
* Turn on **Populate Content from another option**

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_zbx1hy.png)


* Continue to select the Layer you want to get value from, in the **Source option** dropdown. In this case, it would be the **Street Map** layer

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_19qvlpj.png)

## 2. Enter values

Select the type of value you want to get. You can click on the **Browse values** link (or the **+ Available Value** button) for more details 
At the moment, we support these values:

* For **Street** **Maps** & **Star Maps**:

| Format | Meaning | Example |
| ---- |
| `{{lat}}` | Return the **Latitude** of the selected location in plain number (max 7 decimals). | 21.0283271 |
| `{{lng}}` | Return the **Longitude** of the selected location in plain number (max 7 decimals). | 105.8528432 |
| `{{name}}` | Return the **Search keyword** that buyers entered. | Central Park NY |
| `{{place_name}}` | \*(only work with Street Maps) \*Return the full **Location** that buyers selected. | Central Park, New York, New York 10005, United States |
| `{{time}}` | \*(only work with Star Maps) \*Return the **Date & time** that buyers selected. Use "Date picker" format for the text field to show date only. | 2024-11-07T12:31 |
|  |  |  |
| Additional formats: |  |  |
| `{{lat:dd}}, {{lng:dd}}` | Return the Latitude & Longitude in **Decimal Degrees** format (max 7 decimals). | 21.0285°N, 105.8544°E |
| `{{lat:dms}}, {{lng:dms}}` | Return the Latitude & Longitude in **Degrees, Minutes, and Seconds** format (max 2 decimals). | 21°01'42.6"N, 105°51'15.9"E |
| `{{lat:dmm}}, {{lng:dmm}}` | Return the Latitude & Longitude in **Degrees and Decimal Minutes** format (max 3 decimals). | 21°01.710'N, 105°51.265'E) |
| To limit the length of a coordinates, you can follow the formats below, where you replace "X" with the max number of decimals you want to show. X can vary from 0 (integer) to 15.

`{{lat.X}}, {{lng.X}}` 
`{{lat:dd.X}}, {{lng:dd.X}}` 
`{{lat:dms.X}}, {{lng:dms.X}}` 
`{{lat:dmm.X}}, {{lng:dmm.X}}` 

(eg. `{{lat.10}}` returns “21.0294834999” `{{lat:dms.4}}` returns “21°1'46.1406"N”, `{{lat:dmm.0}}` “21°2'N”)

Since you want to get the place name value, then you can copy and paste the `{{place_name}}` value there.

| Tips: You can also enter a custom text there along with the custom value

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_5a0a8b.png)


Check your results on the Storefront:

![](https://storage.crisp.chat/users/helpdesk/website/6085dc2a7293d800/image_b6sqwl.png)
| Please keep in mind that you can also combine different custom values if you want as well!

* For [Song Search](https://support.teeinblue.com/en/article/song-search-feature-jis9qe/)

| Format | Meaning | Example |
| ---- |
| {{title}} | Return the full **Song title** of the selected song | Nightcall |
| {{artists}} | Return the **Artists** of the selected song | Kavinsky |
| {{url}} | Return the **Spotify URL** of the selected song (can use with QR code) | [The Spotify URL of the song will be shown] |
| {{duration}} | Return the **Song duration** of the selected song | 04:17 |
| {{lyrics}} | Return the full **Lyrics** of the selected song (must enable “Load song lyrics” in Song Search layer) | [The whole lyrics of the song will be shown] |
Using similar method as the above step, the results should look like this:

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_1p1392q.png)

* For [Moon Phases](https://support.teeinblue.com/en/article/moon-phases-feature-874b43/)

| Moon Phase - date format | Meaning | Example |
| ---- |
| {{date.MM/dd/yyyy}} | Return the **Date** of the moon that buyers entered | 12/30/2025 |
| {{date.MM-dd-yyyy}} | Return the **Date** of the moon that buyers entered | 12-30-2025 |
| {{date.dd/MM/yyyy}} | Return the Date of the moon that buyers entered | 30/12/2025 |
| {{date.dd-MM-yyyy}} | Return the Date of the moon that buyers entered | 30-12-2025 |
| {{date.yyyy-MM-dd}} | Return the Date of the moon that buyers entered | 2025-12-30 |
| {{date.yyyy/MM/dd}} | Return the Date of the moon that buyers entered | 2025/30/12 |
|  |  |  |
| Moon Phase - location format |  |  |
| {{name}} | Return the **Location** name that buyers searched | Berlin |
| {{lat}}, {{lng}} | Return the **Latitude & Longitude** of the selected location in number format (can use other formats as in Street maps). | Please refer to the Street Maps & Star Maps table |
Using similar method as the step above, the result should look like this:

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/image_1b9ytjf.png)

* For [Custom Text](https://support.teeinblue.com/en/article/add-text-text-personalization-12lfa55/)

| Format | Meaning | Example |
| ---- |
| `{{value}}` | Return the **Value** that buyers entered in the input field of the Text layer. | Teeinblue |
| `{{value.Xchar}}` | Limit the characters of the value, replace **X** with the maximum number of characters you want. (eg. {{value.3char}}). | Tee |
Using similar method as the step above, the result should look like this:


![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/5/6085dc2a7293d800/knowledge-base-crisp-google-ch_ykpfx9.png)

---

**NOTES:**
* Customers can still edit the text field anytime, even after it's been filled.
* If the Customers change the map location again, the text field will be updated with the new values, which could override any custom info they added before.
