How do you stop a button from executing?
Hi , I have a variable and if it is empty /reset than some other button should not do the click event . I want to prevent empty items added to the to do list . I have tried the click event or the add item workflow , but in the formula the variable keeps disappearing if I set the first value as an empty string . Depending on my test run , the formula keeps changing , while I try to set the desired logic . If empty - @Lucas G
If empty Can you tell how to do it ? if it is empty then : do nothing stop block What is the wording or function to call ? Or is it the place . I tried putting it in the else part , but it still makes an empty item . Unless I have to remove that item . But that doesn 't sound as the correct way to do it . There is an HTML attribute called disabled , which allows you to disable a button . You can set a formula on this attribute to check if the variable is empty . If true , set disabled to true ; else set it to false . See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled