Ok, let’s imagine you have a —> FORM !
In your FORM, you will surely have an → INPUTFIELD.
Into this INPUTFIELD you will surely want to insert a —> VALUE.
And of course you will have a button for —> SUBMIT.
And you want to count the caracters of the entered —> VALUE, right?
$w.onReady(()=>{
$w('#submitButton').onClick(()=>{
setTimeout(()=>{
let myValue = $w('#input1').value
let charCount = myValue.length
console.log("Char-Count: ", charCount)
},50);
});
});