# Dynamic Interactive App Card

**URL:** <https://discourse.openondemand.org/t/dynamic-interactive-app-card/4087>\
**Category:** Get Help\
**Created:** [March 4, 2025, 8:13am UTC](https://discourse.openondemand.org/t/dynamic-interactive-app-card/4087 "2025-03-04T08:13:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VittoCon](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/vittocon/32/2512_2.png) [@VittoCon](https://discourse.openondemand.org/u/VittoCon)\
**Post date:** [March 4, 2025, 8:13am UTC](https://discourse.openondemand.org/t/dynamic-interactive-app-card/4087/1 "2025-03-04T08:13:44Z")

</div>

Hello everyone,  
I would like to customize the interactive app card to create a dynamic page that allows me to:

- Select an **account** (choosing between _“basic”_ and _“pro”_).
- Based on the selected account, choose a **queue** :
  - If _“basic”_ is selected, the available queues should be _“short”_ and _“medium”_.
  - If _“pro”_ is selected, the available queues should be _“medium”_ and _“long”_.

- Based on the selected queue, set the maximum number of cores in the **“num\_core”** widget:
  - 30 max for “short”.
  - 50 max for “medium”.
  - 70 max for “long”.

The submission card seems to be a static HTTP page: I can’t make it dynamic or create dependencies between widgets.

Can anyone help me?  
Thank you very much for your support.

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [March 4, 2025, 6:00pm UTC](https://discourse.openondemand.org/t/dynamic-interactive-app-card/4087/2 "2025-03-04T18:00:05Z")

</div>

I think what you are looking for is the Dynamic Batch  
Connect functionality which is documented here:

> **[Dynamic Form Widgets — Open OnDemand 4.0.0 documentation](https://osc.github.io/ood-documentation/latest/how-tos/app-development/interactive/dynamic-form-widgets.html#dynamic-form-widgets)**

Using this you can hide queues based on an account selection:

> **[Dynamic Form Widgets — Open OnDemand 4.0.0 documentation](https://osc.github.io/ood-documentation/latest/how-tos/app-development/interactive/dynamic-form-widgets.html#hiding-entire-elements)**

And you can set values based on an element selection:

> **[Dynamic Form Widgets — Open OnDemand 4.0.0 documentation](https://osc.github.io/ood-documentation/latest/how-tos/app-development/interactive/dynamic-form-widgets.html#dynamic-min-and-maxes)**

Hope this helps. If you have any more questions while playing with this feel free to share the  
`form.yml.erb` file and we will be happy to help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [August 31, 2025, 6:00pm UTC](https://discourse.openondemand.org/t/dynamic-interactive-app-card/4087/3 "2025-08-31T18:00:05Z")

</div>

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