deactivation / activation of the "send" button

@5000101 First, don’t enable the send button by default.


Then , try this:

$w.onReady(function () {
    $w("#name").onChange(() => updateSubmitButtonStatus())
    $w("#email").onChange(() => updateSubmitButtonStatus())
    $w("#phone").onChange(() => updateSubmitButtonStatus())
    $w("#problem").onChange(() => updateSubmitButtonStatus())
    $w("#tellUs").onChange(() => updateSubmitButtonStatus())
});

function updateSubmitButtonStatus() {
    if (($w("#name").valid == true) && ($w("#email").valid == true) && ($w("#phone").valid == true) && ($w("#tellUs").valid == true)) {
        $w("#push").enable()
    }
}