$w.onReady(function () { $w("#textInput1").onInput(() => { if ($w("#textInput1").value.length > 0) { $w("#myButton").enable(); } else { $w("#myButton").disable(); } }); });
top of page
bottom of page