A simple algorithm, in Corvid

@russian-dima No luck. This is the updated code. Doesn’t work. Doesn’t recognize the empty text box in order to disable the button. Button is always enabled, no matter if #text25 box loads empty or not empty in my page.

$w.onReady (function() {


if( $w("#text25").text === '' ) { 
  $w("#button1").disable();
  $w('#text29').text='No file to download. Button disabled!';
}
else {
  $w("#button1").enable();
  $w('#text29').text='Button functional! Proceed with download';
}

});