# The value does not match

**URL:** <https://forum.wixstudio.com/t/the-value-does-not-match/34395>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [August 10, 2021, 10:50am UTC](https://forum.wixstudio.com/t/the-value-does-not-match/34395 "2021-08-10T10:50:58Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![volkaertskristof](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/volkaertskristof/32/18158_2.png) [@volkaertskristof](https://forum.wixstudio.com/u/volkaertskristof)\
**Post date:** [August 11, 2021, 12:26pm UTC](https://forum.wixstudio.com/t/the-value-does-not-match/34395/21 "2021-08-11T12:26:43Z")

</div>

If your website is a copy:  
make an onclick event for your submit button and remove the connection to the dataset (only from the button)  
Then add the following code in the onClick event of the button.

```javascript
    $w("#dataset1").onReady(()=>{

    $w("#dataset1").setFieldValue("qtyXpaid", $w("#input5").value)
    
    $w("#dataset1").setFieldValue("qtyXprice", $w("#input6").value)
    $w("#dataset1").save()
    })

```

If you need help with something else, feel free to refer to me in another post;  
You can now remove me from the contributors if you don’t need any more help.

Kind regards,  
Kristof

---

<div class="post-metadata">

**Author:** ![alfaomega6665](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/alfaomega6665/32/29614_2.png) [@alfaomega6665](https://forum.wixstudio.com/u/alfaomega6665)\
**Post date:** [August 11, 2021, 1:01pm UTC](https://forum.wixstudio.com/t/the-value-does-not-match/34395/22 "2021-08-11T13:01:28Z")

</div>

OMG!!! You are a God, sir! Thanks for that!

---

<div class="post-metadata">

**Author:** ![volkaertskristof](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/volkaertskristof/32/18158_2.png) [@volkaertskristof](https://forum.wixstudio.com/u/volkaertskristof)\
**Post date:** [August 11, 2021, 1:04pm UTC](https://forum.wixstudio.com/t/the-value-does-not-match/34395/23 "2021-08-11T13:04:29Z")

</div>

Happy i could help.

Don’t forget change my answer to a solved answer so people know the question is closed and has an solved answer so people can find it easyer.

_Kind regards,_  
_Kristof_

---

<div class="post-metadata">

**Author:** ![radekgorzkos](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/radekgorzkos/32/9708_2.png) [@radekgorzkos](https://forum.wixstudio.com/u/radekgorzkos)\
**Post date:** [December 29, 2021, 2:21pm UTC](https://forum.wixstudio.com/t/the-value-does-not-match/34395/24 "2021-12-29T14:21:44Z")

</div>

Hello. Could you please provide a solution to the problem as I have the same

---

<div class="post-metadata">

**Author:** ![radekgorzkos](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/radekgorzkos/32/9708_2.png) [@radekgorzkos](https://forum.wixstudio.com/u/radekgorzkos)\
**Post date:** [February 4, 2022, 7:28am UTC](https://forum.wixstudio.com/t/the-value-does-not-match/34395/25 "2022-02-04T07:28:15Z")

</div>

@volkaertskristof Hello. Could you please provide a solution to the problem as I have the same

[Previous page](https://forum.wixstudio.com/t/the-value-does-not-match/34395.md?page=1)
