A user asked me how to enter a carriage return into a text field in Portal. You'd assume you could do that right? I haven't been able to with the usual tricks. i.e Shift/Alt/Ctrl + Enter or by copy/pasting multiline text from Notepad. Portal just reformats it as a space. What my user wanted to do was a little dot point list in a comment field which I think is pretty reasonable. I went back to field creation in Pro and could only find just a simple 'Text' field.
Is there a way to do this, and if not can anyone think of a suitable workaround?
Solved! Go to Solution.
Confirmed that using the HTML line break works in the portal interface.
First line <br /> Second line
I'll make sure its used appropriately, thanks. Thanks too to @jcarlson, that's a good thing to keep in mind as well.
Adding newline characters depends on the interface your users are working with. In the webmap table, for instance, it will not keep the newline character.
Via Survey123, however, using a multiline text entry box, the newline characters do persist.
You're right @jcarlson. I ended up configuring the popup to use the 'rich text' edit type for my comment field (see attached). Works great as my user also wanted to use dot points. It doesn't appear as an option in Pro, only the portal.