# Input dashboard block

**URL:** https://forums.losant.com/t/input-dashboard-block/2170
**Category:** Help
**Tags:** experience
**Created:** [September 5, 2019, 12:18am UTC](https://forums.losant.com/t/input-dashboard-block/2170 "2019-09-05T00:18:42Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)
#### Post date: [September 5, 2019, 12:18am UTC](https://forums.losant.com/t/input-dashboard-block/2170/1 "2019-09-05T00:18:43Z")

</div>

I have an experience page where I include a dashboard with an input block.  
How can I make some of the payload data from the input block show up on the same page I’m including the dashboard on?  
(After clicking the submit button.)

---

<div class="post-metadata">

### Author: ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)
#### Post date: [September 5, 2019, 1:16pm UTC](https://forums.losant.com/t/input-dashboard-block/2170/3 "2019-09-05T13:16:16Z")

</div>

Hi @Lars_Andersson,

You would likely need to store the Input Block values as device state to have some of the payload data displayed on the dashboard. Then an Indicator Block (Live Stream, or whichever block you would like) to display these values.

Thanks!  
Julia

---

<div class="post-metadata">

### Author: ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)
#### Post date: [September 5, 2019, 1:20pm UTC](https://forums.losant.com/t/input-dashboard-block/2170/4 "2019-09-05T13:20:52Z")

</div>

I’m not using another dashboard block to show the values.  
I’m using data from the pageData path

---

<div class="post-metadata">

### Author: ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)
#### Post date: [September 5, 2019, 1:24pm UTC](https://forums.losant.com/t/input-dashboard-block/2170/5 "2019-09-05T13:24:16Z")

</div>

@Lars_Andersson

If you are not going to display with an Indicator Block, and would like it done in your experience, you will need some custom Javascript to do this, as the data would need to be refreshed.

Thanks,  
Julia

---

<div class="post-metadata">

### Author: ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)
#### Post date: [September 5, 2019, 6:51pm UTC](https://forums.losant.com/t/input-dashboard-block/2170/6 "2019-09-05T18:51:30Z")

</div>

Could I not use a context variable?

---

<div class="post-metadata">

### Author: ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)
#### Post date: [September 5, 2019, 6:56pm UTC](https://forums.losant.com/t/input-dashboard-block/2170/7 "2019-09-05T18:56:36Z")

</div>

Hi Lars,

Unlike device state, context variables in dashboard blocks do not update unless the page is refreshed, so the same custom Javascript would be needed.

Thanks,  
Julia

---

<div class="post-metadata">

### Author: ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)
#### Post date: [September 9, 2019, 5:41pm UTC](https://forums.losant.com/t/input-dashboard-block/2170/9 "2019-09-09T17:41:45Z")

</div>

Would that javascript need to be in the experience layout or just the page it self?  
Any guidance or example here would be great.

---

<div class="post-metadata">

### Author: ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)
#### Post date: [September 9, 2019, 5:48pm UTC](https://forums.losant.com/t/input-dashboard-block/2170/11 "2019-09-09T17:48:54Z")

</div>

@Lars_Andersson,

Dashboard Pages are not meant for user input from within an Experience – really they should be focused on displaying device data or interacting with devices.

With that being said, I’d recommend adding a new page to your Experience that’s just a simple HTML form that’s populated from the data from an [Experience Workflow](https://docs.losant.com/workflows/experience-workflows/).

For now, you should check out the [Experience Views Walkthrough](https://docs.losant.com/experiences/walkthrough/views/overview/) it touches on a lot of the concepts you’d need to build this.

This post also touches on accepting form data from Experience Users:

> **[How to Securely Upload Files with Losant Experiences](https://www.losant.com/blog/how-to-securely-upload-files-with-losant-experiences)**
>
> Read this step-by-step guide to learn how to add secure file uploading to your IoT solution using Losant Experiences. Learn more.
