# Dynamic Form Elements

**URL:** <https://forum.flowable.org/t/dynamic-form-elements/9884>\
**Category:** Flowable Engine\
**Created:** [November 9, 2022, 10:03pm UTC](https://forum.flowable.org/t/dynamic-form-elements/9884 "2022-11-09T22:03:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Killian](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@Killian](https://forum.flowable.org/u/Killian)\
**Post date:** [November 9, 2022, 10:03pm UTC](https://forum.flowable.org/t/dynamic-form-elements/9884/1 "2022-11-09T22:03:35Z")

</div>

Hi,

This may be a basic question, but how can I populate a form containing radio buttons dynamically based on an array of JSON id and name variables like so:

`[{ "id": "test", "name": "Test"}, { "id": "test2", "name": "Test 2" }]`

I’m trying to dynamically populate a form instead of doing something along the lines of this:

```auto
<flowable:formProperty id="options_list" type="enum" expression="${cpd:conf('{&quot;cpd_type&quot;:&quot;multi_select&quot;}')}"
  readable="false"
  required="true">
      <flowable:value id="test" name="Test" />
      <flowable:value id="test2" name="Test 2" />
</flowable:formProperty>

```

Any pointers are appreciated!
