Image picker for sending images in chatrooms

I’ve been following this tutorial - Ultimate guide on how to create a CHAT feature in Adalo (Text, Images, Chatrooms, like WhatsApp) - YouTube - to make a messaging feature for my app.

A question regarding sending images.

However, it’s easy to not let your users send empty messages, you just set don’t send message if message text input is equal to empty. But, you can’t do that for image messages, because you cant see if image picker is empty as message text input.

What are some workarounds for that?

Someone recommended to use forms and just leave the image input as that is better than image picker, but I don’t think this will work for this feature.

Well you can have an additional property to be name as: image url, so when user’s upload an Image you create a message with the image picker than you re-update the same message, you update the image url > new message > image > url. than add a condition action regarding the url if it’s equal to empty

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.