Hi. I working in dynamic page where I try multiply value from input4 (quantity) and Imput2 (price) where outcome is send to imput6. all working fine but when submit values are send to database are correct a part of imput6.
![](https://static.wixstatic.com/media/a27d24_09406360f2834fb19306ceee923f5a69~mv2.png/v1/fill/w_74,h_43,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_09406360f2834fb19306ceee923f5a69~mv2.png)
my code:
export function input2_change(event) {
let qty1 = Number($w('#input4').value);
let price = Number($w('#input2').value);
$w("#input6").value += qty1*price
console.log((qty1*price))
}
Thanks,
G
Hi NajcargS,
It took a while but i found a solution. Seemslike an element isn't updated to the dataset if the element is filled by code. So i removed the link with the submit button, added the 2 elements to the dataset and saved it. This seems to be working fine. Kind regards, Kristof