Hello iandawson51,
can not see your code, which makes errors.
Hi
You need to make sure they have values before the submission.
let height = $w('#heightCM').value;
let width = $w('#widthCM').value;
let price = $w('#price').value;
$w('#button').onClick((event) => {
if (height > 0 && width > 0 && price > 0) {
// Submit the values
} else {
// show an error message
}
})
Hope this helps~!
Ahmad
N errors as no code yet. i want to test inputs for values before submition to database
Thanks Ahmad works great
You’re welcome