# Dropdown values populate dynamically

**URL:** <https://community.dhis2.org/t/dropdown-values-populate-dynamically/62935>\
**Category:** Implementation - Implémentation\
**Created:** [2 January 2025 14:14 UTC](https://community.dhis2.org/t/dropdown-values-populate-dynamically/62935 "2025-01-02T14:14:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [6 January 2025 09:27 UTC](https://community.dhis2.org/t/dropdown-values-populate-dynamically/62935/2 "2025-01-06T09:27:58Z")

</div>

Hi @ramavat

Sorry for the delay. There’s a similar question in another topic:

> [@Problem with program rule action](https://community.dhis2.org/t/problem-with-program-rule-action/49958/2):
>
> Hi @aitor_garrido Regarding your first question. Yes, it is very straight forward to assing a “Yes” to a Data Element as you can see here. [program\_rule\_yes] The example program rule (sorry for the rules not making really sense as I am reusing another program): Program Rules Variables: Expression: Program Rules: Please note that when using Program Rules and assigning a value to Data Element this becomes greyed out so it cannot be changed (unless the Program R…

I tested and it’s working. Please let me know if there’s any additional details you need.

Thanks!

---

_[View the full topic](https://community.dhis2.org/t/dropdown-values-populate-dynamically/62935)._
