# Input value added via JS is not submitted correctly when appending it in workflow

**URL:** <https://community.weweb.io/t/input-value-added-via-js-is-not-submitted-correctly-when-appending-it-in-workflow/2454>\
**Category:** How do I?\
**Tags:** binding, xano\
**Created:** [April 25, 2023, 1:19pm UTC](https://community.weweb.io/t/input-value-added-via-js-is-not-submitted-correctly-when-appending-it-in-workflow/2454 "2023-04-25T13:19:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 25, 2023, 6:21pm UTC](https://community.weweb.io/t/input-value-added-via-js-is-not-submitted-correctly-when-appending-it-in-workflow/2454/2 "2023-04-25T18:21:08Z")

</div>

weweb is a vuejs app, any direct element manipulation with code will be out of sync with it. If you need to update variables in weweb from external js code you can use `wwLib. executeWorkflow` and change the variable with an action in the workflow.  
You can see an example in [this post](https://community.weweb.io/t/best-place-for-onfocus-and-onblur-events/1625/2).  
If this is not enough for your needs you can always create a custom element that integrates with weweb.

---

_[View the full topic](https://community.weweb.io/t/input-value-added-via-js-is-not-submitted-correctly-when-appending-it-in-workflow/2454)._
