May 18, 202111:16 AM - edited May 18, 202111:18 AM
Participant | Platinum Partner
Hide a table row/cell if it is empty
SOLVE
Hello devs! I am trying to figure out a way to hide a hubdb table row if it's empty. My client wants to be able to remove the dates from a webinar table. Ideally the span tag will be hidden if the date is cleared (right now if the date is cleared, it defaults to today's date). I've figured out how to do this for another hubl module (eg: if button text is empty, hide button), but since this one is pulling data directly from a table that method doesn't quite work. I have included my table loop below. I think this can be done with an if statement, but I'm pretty new to hubdb table loops, so any help will be much appreciated. Thanks! (edited to show the english version of this table)
Wait maybe I misunderstood the initial post, do you want to hide everything if there is no date selected in HubDB? or just the date wrapped in the span?