i am building an app with Adalo as my front end and Xano as backend, i am on troubleshooting stage and i have encountered a problem. I cant press ENTER while typing in text inputs because it will make JSON invalid. in my app i have to put JOB DESCRIPTIONS and they will not look good if they are in just a straight line. and also in my Xano POST method i cant put multi line text inputs because it will make JSON invalid.
In short i cant post paragraphs, i can only post single line texts
I can send carriage returns from an adalo text input (multiline) to Xano. So I think your problem lies elsewhere. Post the errors you get from Xano endpoint history.
In Adalo it just does not do any action whenever i have used ENTER or RETURN key, if text inputs are in single line it would go through. it does not show any error when does not go through
Iâve had a look. Seems like you are running a âCustom actionâ to send your message (add record to Xano). Line breaks in custom action are discussed on the forum and are promblematic. I would use âCreateâ record from within Adalo instead. Then in the function stack of Xano carry out any additional process if you need.
Alternatively you could apply a filter on the Xano side to the inputs. The line break is being sent as \n e.g. This text\nNew line
Hi rozza, i implemented same thing and it is working. i am encoding from adalo and decoding in xano, but i am encoding with third party API and i need subscription for this.
what would be the best way to encode in adalo?
Iâm not a Xano user, let alone a fan. When the backend, and in this case Xano, canât handle basic things like split(â\nâ), it really seems absurd. Even simple data transformations become unnecessarily complex.
Xano seems to be trying to be âuser-friendlyâ, but when such things donât work intuitively, itâs just more headaches for the end user. Firebase is much more rationally designed in this respect - everything is JSON and you can easily manipulate data without any nonsense.
Sometimes it seems that some âno-codeâ backends deliberately complicate simple things in order to sell âproâ features later.
Hello Rozza and Simonas
Multi text inputs are working now. Thanks for your replies, it could be impossible without your help guys.
solution- In XANO i just changed the text format of column to Plaintext and i used query parameters instead of JSON in xano post custom action (adalo side)