I have an action with a condition to look for an empty cell and execute it. However, this does not happen, and I know the cell and other cells are empty. What could be the problem?
BSS
I have an action with a condition to look for an empty cell and execute it. However, this does not happen, and I know the cell and other cells are empty. What could be the problem?
BSS
What’s calling the action? Is it being executed from a component that’s connected to the row with the empty cell?
The action is being called from within a Block in a Form. I hope I am stating this correctly.
And I have a condition in the Action. If the cell is empty, do this, else do something else.
Gets a little tricky in a form.
Is the value your action is trying to look at coming from the parent row where the button to open the form islocated? Or is it supposed to come from a value set within the form?
Have you done anything to verify if the value of filled or not, such as adding a text component to your form that works display the value?
I would say it is a value in the parent row. I deliberately went into a specific cell and deleted the data out of three cells and then one of those cells I asked it to see if it was empty but it says it’s not empty.
I also forgot to tell you that this data is coming from a Google sheet.
Just gotta ask… did you replace the value in those cells with a space character, or are they truly empty?
Otherwise, I think I’m going to need to see screenshots and/or a video to fully understand how everything is set up.
I will send you a video
I think the problem is you’re expecting that button to look at your whole table and do a set column on any rows that are “empty”, but in reality that only interacts with the row where your screen is built on. That row is “not empty”, so that’s running as expected.
Well, what are you saying to do?
This morning, I created a table in Glide and created an Action to see the empty cell and to Set The Column values and it worked perfectly. I am wondering whether there is something about data coming from a Google sheet. Any comments?
BSS
However, when I added another empty cell in the same Test Table, the Action did not see the new empty cell.
I am sorry for another post. The action seems to see the first cell, but not the second or third empty cell.
It seems the empty cell has to be at the top of the table for the action to work correctly. Still testing.
On the top level of a screen you will be connected to the first row of a table.
You could create a one row table and use that as the driver of your screens. Or if the user will be signed in the user profile table is another good option.
May I ask what are you trying to do?
This is why I asked the following question earlier. Actions act upon on a single row. The row that the actions looks at depends on which row the screen with the button was attached to.
If you want you action to work with a row that has empty columns, then you need to be on a row with empty columns.
Wouldn’t be easier to just show a filtered collection on the screen? Is there no way to get Jot forms to prepopulate those columns?
You made a good point here. But please explain more about the filtered collections on the screen. Also, it may be possible to populate the Jot Form with the missing data first.