I working on a custom form where I want an error text to show if they do not fill the required fields. The ErrorText1 is hidden on load. export function Nextbutton2_onclick(event, $w, reject) { if ($w('#Q1').value) if ($w('#Q2').value) if ($w('#Q3').value) { $w("#form").changeSlide(2); } else { $w('#ErrorText1').show(); $w('#Nextbutton2').disable() setTimeout (function () { $w('#Nextbutton2').enable() },2000) } } The error text is not popping up. Am I missing something here?