What I’m trying to do:
Hi,
I’m trying to create a website to message other users.
In the User Interface, I have created a text box to type a message and a button to send the message. I’m not sure how I can get the message to be sent. This is a year 10 school project.
Copy attached here;
I strongly recommend that you work through this tutorial to show you how to use the features you need.
Once you’ve done that you should have the tools you need to get it working. If you need help let us know specifically what you can’t get working.
To get you going down the right track it sounds like you need to call a server function that will save the message in a data table. From there you can do something with that message.
2 Likes
Welcome to the forum @26roebut!
Searching past forum posts, I see a couple of chat projects that other members have shared that should give you some ideas:
- https://anvil.works/forum/t/hangouts-like-chat-design/3141/10
- https://anvil.works/forum/t/facebook-like-chat/2729/13 (for advice about changing this to a one-to-one system instead of a group chat, see also https://anvil.works/forum/t/facebook-like-chat/2729/6
Hope this helps!
1 Like