Hi,
I have an input text field (with multiline) in Adalo. when a user write a text, I would like to update the text field in Xano. But to do that with API, I need to export the multiline text field Adalo with a right json format. Someone can explain how to do that ?
Thank you
Hello,
To export a multiline text field from Adalo to JSON format, you can use the Magic Text feature. Here’s a quick guide: HP® Store
- Create a Custom Action : Set up a custom action in Adalo to handle the API call.
- Use Magic Text : Use the Magic Text feature to pull the multiline text field value.
- Format JSON : Ensure the JSON format is correct, replacing newline characters with
\n
if needed.
Here’s an example JSON format:
{
“text”: “Your multiline text here\ncontinues on the next line”
}
Best Regards,
Gary Byers
@TDuquenne, I guess best is to encode the text from Adalo and send that encoded value to Xano. Then from Xano side, first decode that value and store it in the dB.
To encode the text from Adalo, you can use the below component :
Maybe @theadaloguy knows another better solution?
This is my go-to solution as you describe @dilon_perera
1 Like
Hi @dilon_perera & @theadaloguy,
thank you for your answers, I’ll give them a try.
Have a nice day!
Thierry
1 Like