Disable submit button Survey123

390
3
Jump to solution
01-31-2022 04:31 AM
LeandroBenicio_de_Souza
New Contributor II
Good morning,

Is it possible to remove or disable the Survey123 submit button in the web version?

 

0 Kudos
2 Solutions

Accepted Solutions
Philip-Wilson
Esri Notable Contributor

Hi @LeandroBenicio_de_Souza,

Yes, it is possible to hide the submit button in the web app using URL parameters when launching the web form. The parameter to use is hide=submit. Please refer to following documentation:

https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm#GUID-D38D44E2-8CBA-4030-892...

As for the Survey123 field app, there is currently no way to disable or hide the submit button. However you can use a relevant/conditional question at the end of survey, right before the submit button, that has a constraint on it, so that when the value doesn't match, the constraint throws a custom message and/or displays a note in big red letters that says "This survey can not be submitted". You can build up the constraint to be based on several other questions or values in the survey that must be met for it to be submitted. This can also be done for web app too if you want the submit button to be conditional.

Regards,

Phil.

View solution in original post

0 Kudos
Philip-Wilson
Esri Notable Contributor

Hi @LeandroBenicio_de_Souza,

You can not set the hide=submit URL parameter in Connect, it needs to be appended to the URL that is used to open the survey in the web app. So when you share the survey with users, you modify the URL to include the additional parameters you want used when it is opened.

Regards,

Phil.

View solution in original post

3 Replies
Philip-Wilson
Esri Notable Contributor

Hi @LeandroBenicio_de_Souza,

Yes, it is possible to hide the submit button in the web app using URL parameters when launching the web form. The parameter to use is hide=submit. Please refer to following documentation:

https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm#GUID-D38D44E2-8CBA-4030-892...

As for the Survey123 field app, there is currently no way to disable or hide the submit button. However you can use a relevant/conditional question at the end of survey, right before the submit button, that has a constraint on it, so that when the value doesn't match, the constraint throws a custom message and/or displays a note in big red letters that says "This survey can not be submitted". You can build up the constraint to be based on several other questions or values in the survey that must be met for it to be submitted. This can also be done for web app too if you want the submit button to be conditional.

Regards,

Phil.

0 Kudos
LeandroBenicio_de_Souza
New Contributor II
Hi @Philip-Wilson 
I made the form in Survey123 connect. Where should I use hide=submit in Survey123 connect?
The form will only be used in the web version.
0 Kudos
Philip-Wilson
Esri Notable Contributor

Hi @LeandroBenicio_de_Souza,

You can not set the hide=submit URL parameter in Connect, it needs to be appended to the URL that is used to open the survey in the web app. So when you share the survey with users, you modify the URL to include the additional parameters you want used when it is opened.

Regards,

Phil.