# How not to flush entered input values when workflow is fired

**URL:** <https://community.weweb.io/t/how-not-to-flush-entered-input-values-when-workflow-is-fired/4085>\
**Category:** How do I?\
**Created:** [August 29, 2023, 11:08am UTC](https://community.weweb.io/t/how-not-to-flush-entered-input-values-when-workflow-is-fired/4085 "2023-08-29T11:08:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_LoopLabs](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Robert\_LoopLabs](https://community.weweb.io/u/Robert_LoopLabs)\
**Post date:** [August 29, 2023, 11:08am UTC](https://community.weweb.io/t/how-not-to-flush-entered-input-values-when-workflow-is-fired/4085/1 "2023-08-29T11:08:30Z")

</div>

Hey everyone,

I feel like I am missing something…but how NOT to flush entered input values when workflow is fired? I have created validations via JS, after running this, all of the input values are flushed. So basically when user has almost everything correct but missed one input, he will need to do it all over again which is kinda annoying. Thanks for any ideas! 🙂

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [August 29, 2023, 11:10am UTC](https://community.weweb.io/t/how-not-to-flush-entered-input-values-when-workflow-is-fired/4085/2 "2023-08-29T11:10:55Z")

</div>

are you sure that you are not resetting the value of the input in your workflow or js code?

---

<div class="post-metadata">

**Author:** ![Robert\_LoopLabs](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Robert\_LoopLabs](https://community.weweb.io/u/Robert_LoopLabs)\
**Post date:** [August 29, 2023, 11:19am UTC](https://community.weweb.io/t/how-not-to-flush-entered-input-values-when-workflow-is-fired/4085/3 "2023-08-29T11:19:58Z")

</div>

Yup, only validation (if (context.parameters[‘age’] === ‘’ || context.parameters[‘age’] === null) {  
variables[‘049309ec-47f2-47a6-80da-12c7fe4d3c81’] = true;  
}) and showing / hiding error mesages
