0
Private Function to Check Empty Fields on Button Click
Hi,
Is it possible to create a function and pass it an array of fields to check if any of them are empty?
My example is that I want to send a send a task to outlook using integromat, but I don't want the task to send unless all fields are complete.
I have a huge
if field1 = "" or field2 = "" or field3 = ""
but I have multiple instances where I check fields like this so it would be good to have a function I could pass an array to that would check if any of the fields are empty.
I got started with
function checkEmptyFields(fields : array) do
end;
and I get an unknown type on the array.
any help will be much appreciated!
Reply
Content aside
- 2 yrs agoLast active
- 57Views
-
1
Following