Is there a way to display to the survey user, the remaining characters available for a text input field? Similar to what one sees when authoring a tweet in Twitter?
As of 3.1, the character count will now be displayed on text questions in the field app.
This is not currently possible without creating a note below the field and doing a calculation - the string-length function would be useful in this case. It is a good enhancement request though so I would suggest you submit it to the ArcGIS Ideas site.
Thanks Michael, this is very helpful and a good way to deal with this issue.
Just something that has been bothering me and that I haven't been able to find a quick answer to; Is a note field written to the final database or is for display only?
That depends on whether you specify a name for the database field name. Below only the second note is stored:
As can be seen in the Schema Preview:
As can be seen in the example above, you can also change the length of a string if needs be using the bind::esri:fieldLength column.
SUPER helpful! Thank you very much!
More than welcome Dan
Just a quick note to say that this functionality is available in the web client (i.e. when the survey is viewed through a browser):
and the next generation forms (currently in beta)
It's just not available in the mobile app yet.
Thank you for your time and input to this thread. Your solution, above, works fine, but is not dynamic, that is, does not show the user how many characters remain in the limit as they are typing.
Also, your comment on "note" items being committed to the database as asked by Dan McIlroy. It appears to me, from my Survey123 forms, that a "note" item is not by default committed to the database when the "name" field is populated with a value (see first screen capture). If a "calculation" is included with the note, then the note is committed to the DB (see second screen capture).
Note without "calculation"
Note with "calculation"
This is awesome! Now how do you turn it off?
There is not a way to turn off the character count. Could I ask that you file an idea at https://ideas.arcgis.com/ explaining how the option to turn off the character count benefits your workflow?
Retrieving data ...