# Setting dynamic field titles in natural xml

**URL:** <https://techcommunity.softwareag.com/t/setting-dynamic-field-titles-in-natural-xml/312685>\
**Category:** Forum\
**Tags:** Natural, xml\
**Created:** [October 21, 2026, 7:13pm UTC](https://techcommunity.softwareag.com/t/setting-dynamic-field-titles-in-natural-xml/312685 "2026-10-21T19:13:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian\_rutherford](https://avatars.discourse-cdn.com/v4/letter/i/7ea924/32.png) [@ian\_rutherford](https://techcommunity.softwareag.com/u/ian_rutherford)\
**Post date:** [October 21, 2026, 7:13pm UTC](https://techcommunity.softwareag.com/t/setting-dynamic-field-titles-in-natural-xml/312685/1 "2026-10-21T19:13:01Z")

</div>

#### _ **Product/components** used and **version/fix** level: N1 9.3.3 fix 3_

#### \*Detailed explanation of the problem: We build form fields from queries using the tag in xml. We need to dynamically set the form field title value. I cannot find anything in the docs on how to do that. I tried using a Natural variable, but it was just entered as text.

- 

```
                      [color=#000080]<repeat>[/color]

                          [color=#000080]<tr>[/color]

                              [color=#000080]<hdist>[/color]

                              [color=#000080]</hdist>[/color]

                              [color=#000080]<field[/color] [color=#000080]bgcolorprop=[/color][color=#008000]"bgcol_xselection-cv"[/color] [color=#000080]datatype=[/color][color=#008000]"string 1"[/color] [color=#000080]displayprop=[/color][color=#008000]"disprop_xselection-cv"[/color] [color=#000080]fieldstyle=[/color][color=#008000]"font-family:Courier New;font-size:12;color:#000000"[/color] [color=#000080]invisiblemode=[/color][color=#008000]"cleared"[/color] [color=#000080]length=[/color][color=#008000]"1"[/color] [color=#000080]njx:natcomment=[/color][color=#008000]"statusprop=status_xselection-cv"[/color] [color=#000080]njx:natname=[/color][color=#008000]"XMAP-FIELDS.XSELECTION"[/color] [color=#000080]statusprop=[/color][color=#008000]"status_xselection-cv"[/color] [color=#000080]textalign=[/color][color=#008000]"center"[/color] [color=#000080]title=[/color][color=#008000]"\[dynamic title here\]"[/color] [color=#000080]uppercase=[/color][color=#008000]"true"[/color] [color=#000080]valueprop=[/color][color=#008000]"xselection"[/color] [color=#000080]width=[/color][color=#008000]"45"[/color][color=#000080]>[/color]

                              [color=#000080]</field>[/color]

                          [color=#000080]</tr>[/color]

                      [color=#000080]</repeat>[/color]

```

#### _Question related to a **free trial** , or to a **production (customer)** instance? production_

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [October 22, 2026, 10:02am UTC](https://techcommunity.softwareag.com/t/setting-dynamic-field-titles-in-natural-xml/312685/2 "2026-10-22T10:02:07Z")

</div>

Hi Ian,

Is my understanding correct that your question is about Natural for Ajax?

The **FIELD** control you are using supports a **title** and a **titleprop** property. Your layout snippet above shows the usage of a FIELD control in a grid. When using a FIELD in a grid, you usually use the titleprop property. This will result in a Natural field which you dynamically fill with the correct value per item in your Natural program. For titleprop=“fieldtitle” your grid data structure will look like this:

1 THEGRID (1:\*)

2 FIELDTITLE (A) DYNAMIC

…

In the Browser this will be rendered a s tooltip for the corresponding column.

Does this meet your requirements?

Best Regards,

Christine

---

<div class="post-metadata">

**Author:** ![ian\_rutherford](https://avatars.discourse-cdn.com/v4/letter/i/7ea924/32.png) [@ian\_rutherford](https://techcommunity.softwareag.com/u/ian_rutherford)\
**Post date:** [October 22, 2026, 4:08pm UTC](https://techcommunity.softwareag.com/t/setting-dynamic-field-titles-in-natural-xml/312685/3 "2026-10-22T16:08:21Z")

</div>

Thank you. That was what I needed.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [October 24, 2026, 4:09pm UTC](https://techcommunity.softwareag.com/t/setting-dynamic-field-titles-in-natural-xml/312685/4 "2026-10-24T16:09:11Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
