# Collecting dashboard ui(s) values

**URL:** <https://community.plotly.com/t/collecting-dashboard-ui-s-values/21783>\
**Category:** Dash Python\
**Created:** [April 2, 2019, 4:01pm UTC](https://community.plotly.com/t/collecting-dashboard-ui-s-values/21783 "2019-04-02T16:01:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markmnei](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@markmnei](https://community.plotly.com/u/markmnei)\
**Post date:** [April 2, 2019, 4:01pm UTC](https://community.plotly.com/t/collecting-dashboard-ui-s-values/21783/1 "2019-04-02T16:01:52Z")

</div>

Hi

I have a dashboard with multiple dcc.dropdown(s). A total of 7 dropdowns. I need to collect the values selected in each drop down, put in a list and then process the list to print a long string (cancat of values) to a html.Label.

I am having hard time figuring out how to get all the ui(s) values to get passed on to the html.Label call back. I can only have one input?) or am I doing this wrong?

Thanks

---

<div class="post-metadata">

**Author:** ![markmnei](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@markmnei](https://community.plotly.com/u/markmnei)\
**Post date:** [April 2, 2019, 5:57pm UTC](https://community.plotly.com/t/collecting-dashboard-ui-s-values/21783/2 "2019-04-02T17:57:49Z")

</div>

Never mind … I got it figured out.

```
@app.callback(dash.dependencies.Output('my-list', 'children'),
[dash.dependencies.Input('dropdown1', 'value'),
 dash.dependencies.Input('dropdown2', 'value'),
 dash.dependencies.Input('dropdown3', 'value'),
 dash.dependencies.Input('dropdown4', 'value'),
 .
 .
 .
 ])

```

def update\_qry\_ebs1(\*args):  
arg\_dict = dict(  
my1 = args[0],  
my2 = args[1],  
my3 = args[2],  
my4 = args[3],  
.  
.  
.  
)  
return json.dumps(args, sort\_keys=True,indent=4, separators=(’,’, ': '))
