Help please I want to test 3 inputs for a value before i submit to database, even with required selected in properties they still submit

Hello iandawson51,

can not see your code, which makes errors.

Hi :raised_hand_with_fingers_splayed:

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 :wink: