Quick question - how do I create a fiction to add links and files to posts in Adalo?
For example, if I am posting about an event I want to be able to add a registration link, a file with more info or an image. I also want to be able to copy text (e.g. phone number or link) from a post. Please help.
Let’s assume you have “Posts” collection.
You will need to add 2 fields to this collection:
URL field, type is “text”
File field, type is “file”.
When you’re creating a new post, you can add the values to these fields.
On a post viewer side, you will need to add these fields as well:
for URL field, it could be a just a text label (e.g. “Click here to register”). On this text label add an Action, select “link to Website (on the bottom)”, and add URL’s value using magic text in the action.
for File field, you can make a label text’s a filename, and add similar “Link to Website” action with magic text = file URL to allow users download the file.
If you would like to make text copyable, there are 2 options:
set the text label’s property “copyable” to true (left pane bottom, Edit Styles)
use Copy to Clipboard component from the marketplace.
You can make the text label conditionally visible. For a file, it could be if Attachment → File URL is not equal to empty (you don’t type in “empty”), you just leave the 2nd field empty.