String vs text prompt types

Hi all,
I’m curious about when someone would choose string over text as field types, or vice versa. Here:

https://docs.odk-x.org/xlsx-converter-reference/?highlight=constraint#survey-prompt-types

the definitions are circular:
|string| Used to ask the user a question and allows them to enter a string.|
|text| Used to ask the user a question and allows them to enter text.|

I can google how these types are typically defined, such as here:

But, other than deducing that text may allow formatting and such and string seems to be a more fundamental data type (in java at least), here we are defining a data type for storage in a table.

In what contexts (or use cases) might one choose one of these prompt types over the other?

Thanks in advance,
Tim

Hi @tghoward this might be helpful: ODK-X character limits

Hi @elmps2018. Ok, thank you, that’s a helpful exchange. So, perhaps the only differences (as used here by ODK-x) are character length, maybe. Especially since …

Thanks for the reply.

1 Like