Select to view content in your preferred language

Multiline text limit error

188
4
2 weeks ago
RobbHodges
Frequent Contributor

We recently upgraded our surveys to 3.23. Before that, all of our Multiline text fields had a limit of 1000 characters. It appears to still be that way when filling out the survey through a web browser. 

However, the survey123 app is limiting us to 255 characters. This is the case with every survey we have. Again, that same survey allows the full 1000 characters when using a web browser. 

The surveys are all created with the web designer. 

Has anyone else come across this issue? We had a bug logged for this, but they combined it with an older, similar bug. But, this just started for us with this latest update to the survey. 

0 Kudos
4 Replies
ChristopherCounsell
MVP Regular Contributor

You need:

  • Fields that support 1000 characters
  • A form that allows for 1000 characters and recognises the underlying field length is 1000

When you first published a survey it will:

  • Create the field with a set length (e.g. 255)
  • Retain this value within the form, so that the user doesn't enter more than 255 characters

If you change the field length you also need to republish the survey form. This means:

  • If you've manually deleted the field and recreated it via ArcGIS online, you need to also republish the survey form and set the schema to match the new length. In connect this is a column. In web designer I believe it's in the schema preview.
  • If you reconfigure it via the survey interface and republish, it may delete your field as part of the process 

Then in your field app you need to re-download the updated survey form.

Try stepping through the above (field, survey schema settings, and updated form) to see where the discrepancy is and if republishing the survey resolves it.

0 Kudos
RobbHodges
Frequent Contributor

Hey Christopher, so the field is set up for 1000 characters and has been since I created the form. This is happening in all of our forms. Ive tried republishing quite a few of them. This happened after republishing them to version 3.23. Up until now, our field crews have been able to leave detailed comments. 

0 Kudos
Neal_t_k
Frequent Contributor

@RobbHodges If you go into your survey folder in "My Survey Designs" parent folder and open the YourSurveyName.webform and the YourSurveyName.xml in a text editor and compare the field length for that field from both.  They should be the same at 1000.  Not sure how that will help other than trying to figure out where the error is happening.

0 Kudos
RobbHodges
Frequent Contributor

We only run this in the web designer. So, I don't think I can get to that. I did notice that even when I create a new Multiline field, it still limits me to 255 in the app, even though I double checked in the schema that it is set to 1000. 

0 Kudos