Select to view content in your preferred language

S123 Repeats - Filling all required questions before letting new repeat

663
6
06-15-2023 05:50 AM
KenBouchard
Regular Contributor

Hi,

I'm having a public form where citizens get to enter their personal information and then they are able to add multiple locations on a map with lots of questions associated with this location.  (One to many relationship between the person and his locations)

There is many required questions on the repeat.  However, S123 will let you create a new location before completing all the questions on location 1.  When they try to submit, it won't let them because of that missing question.  They now have to return to each and every location (repeat) to find that missing question.  It can be very confusing when they have 40+ locations, to find which one has a empty question.

Is there a way to force the user to fill all the required questions before being able to use the "+" button to create a new location (repeat)?

 

 

 

 

 

0 Kudos
6 Replies
DougBrowning
MVP Esteemed Contributor

Weird mine does stop me from going to the next repeat on a required.  

I do have a long standing idea posted to also do this for pages.  But repeats do stop me.  Is this in the app or web form?  What device?  Are you up to date?

DougBrowning_0-1686836097035.png

 

 

0 Kudos
KenBouchard
Regular Contributor

Hi Doug,

Yeah, this is very weird!

It's a web form, doing the same thing on Google Chrome and Microsoft Edge.

Version is the latest (3.18).

Pages won't let me go to the next one on a required but Repeat let me go to the next one... 

0 Kudos
IsmaelChivite
Esri Notable Contributor

@KenBouchard  I can reproduce this behavior.

In the Survey123 mobile app, the 'required' check is done when you add a new record. Like @DougBrowning  describes.

In the Survey123 web app, the  check is done when you click on the Submit button (allowing you to have empty required fields and add a new repeat record)

I will create a note in the internal Esri development repo. However, I suggest to create an Esri Tech Support ticket for this so it gets officially logged.  Ideally, the behavior should be similar in both the mobile and web apps: check required fields before exiting the repeat record.

KenBouchard
Regular Contributor

Thanks Ismael!

I'll create a ticket as per your recommendation! 🙂

Ken

0 Kudos
DougBrowning
MVP Esteemed Contributor

Any progress of having the checks on a page advance?  Similar issue - we have a crew get an error on a field they may have filled out an hour ago and have already left the area usually in rough terrain.

thanks

0 Kudos
KenBouchard
Regular Contributor

Hi Ismael @IsmaelChivite,

This "required" check for repeats is critical for us.  Tech Support identified it as a defect and told me it falls under BUG-000157091.  They say it's "under consideration" but not priority.

Would you think of a workaround until this is fixed? 🤔

I need to stop the user from creating a new repeat until all the fields are filled...

Ken