# How do I output the return callback into a container in dash?

**URL:** <https://community.plotly.com/t/how-do-i-output-the-return-callback-into-a-container-in-dash/67903>\
**Category:** Dash Python\
**Tags:** question\
**Created:** [September 13, 2022, 11:50am UTC](https://community.plotly.com/t/how-do-i-output-the-return-callback-into-a-container-in-dash/67903 "2022-09-13T11:50:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![topotaman](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/topotaman/32/22455_2.png) [@topotaman](https://community.plotly.com/u/topotaman)\
**Post date:** [September 13, 2022, 11:50am UTC](https://community.plotly.com/t/how-do-i-output-the-return-callback-into-a-container-in-dash/67903/1 "2022-09-13T11:50:22Z")

</div>

Hi

I have this callback

```auto

@app.callback(Output('updatemode-output-container', 'children'),Input('dropdown1_chart8', "value"),Input('dropdown2_chart8', "value"),
              Input('slider', 'value'))

```

and the definition returns this:

```auto

return 'Linear Value: {} | \
        Correlated Value: {}'.format(value, trans_value)

```

how can I make the return print in the dashboard here?

```auto

dbc.Row(
                            [
                                dbc.Col(html.H3(updatemode-output-container, md=12)),
                            ],

```

---

<div class="post-metadata">

**Author:** ![Croll12](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@Croll12](https://community.plotly.com/u/Croll12)\
**Post date:** [September 13, 2022, 12:17pm UTC](https://community.plotly.com/t/how-do-i-output-the-return-callback-into-a-container-in-dash/67903/2 "2022-09-13T12:17:11Z")

</div>

Set the id on the column, not the H3.

Return html.H3( **return text** )

---

<div class="post-metadata">

**Author:** ![topotaman](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/topotaman/32/22455_2.png) [@topotaman](https://community.plotly.com/u/topotaman)\
**Post date:** [September 13, 2022, 12:39pm UTC](https://community.plotly.com/t/how-do-i-output-the-return-callback-into-a-container-in-dash/67903/3 "2022-09-13T12:39:36Z")

</div>

hi, what text?  
also, how do I write it?  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/8/7/879e841b5a98acdcd725e8bd1ec8f11438811b22.png)

---

<div class="post-metadata">

**Author:** ![Croll12](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@Croll12](https://community.plotly.com/u/Croll12)\
**Post date:** [September 13, 2022, 12:50pm UTC](https://community.plotly.com/t/how-do-i-output-the-return-callback-into-a-container-in-dash/67903/4 "2022-09-13T12:50:14Z")

</div>

Let me know if you have any questions:

```auto
dbc.Row(
[dbc.Column(id=‘updatemode-output-container’)
]
)

```

In your callback return this:

return html.H3(Linear Value: {} |   
Correlated Value: {}'.format(value, trans\_value))
