How do i pass the data from javascript expression to the Database? I have been able to do the calculation and its good now , so i want to use the expression and send into the database so i can call the information up later and use it for the approval view.
the Javascript i used looks like this :
`var resultCalculate = Number($data.perdiemInput) * Number($data.noOfNightsInput);
return resultCalculate;`
This calculates the number of Nights and the per diem and then its bound to the input feild like this