Can any one help, my database worked fine until last week using this code
export function submitBtn_click(event, $w) {
CanvasSize = $w( “#inputHigh” ).value + “cm x " + $w( “#inputWide” ).value + “cm”
Price = “$” + $w( ‘#Price’ ).value
$w( ‘#dataset1’ ).setFieldValues()( “dimensions” , CanvasSize)
$w( ‘#dataset1’ ).setFieldValue( “price” , Price)
$w( “#text1” ).text = “” + Price + " " + CanvasSize; //check if fields are returning a values
}
then i got this error The dataset didn’t load yet. You need to call setFieldValues inside the onReady for the dataset
so I added this code $w(”#dataset1").onReady( () => {
$w("#dataset1").save();
But now it dont save anything to the database