Show send icon only when text or image is filled (no empty messages)

Hi, I’m building a messaging feature in Adalo and want to control when a message can be sent.

I want these conditions:

  • Text only = OK

  • Image only = OK

  • Text + Image = OK

  • Empty (no text and no image) = Not allowed

Ideally, the send icon should only be visible (or tappable) when at least one of these is filled:

  • The text input is not empty, or

  • An image has been selected / uploaded

If both text and image are empty, the send icon should be hidden or disabled so that users can’t create an empty record.

How can I set up the visibility / action conditions in Adalo to achieve this?

(Previous post that has not been solved:

Closing to avoid duplicates! :raising_hands: : Allow Sending When Only an Image Is Uploaded (Without Creating Empty Records)