Skip navigation
All Places > ArcGIS Survey123 > Blog > Author: rogermesengeotec

ArcGIS Survey123

2 Posts authored by: rogermesengeotec

There is a way to invoke #Survey123 with the fields fill. With the URL. if you want to know more about how to configure the URL is better to check the following link (click here). In the blog Ismael Chivite  explain deeply how to use the url. 

This blog is more about how to transform the link in a button to show a better graphic interface to the user.


Basically when you have the link with the url of the form and you are setting the pop-up you can configure a "kind of button", with the following #html code.


<font size="5">

<a href="arcgis-survey123://?itemID=xxxxxxxxxxxxxxxxxxxx" style="display: inline-block; outline: none; cursor: pointer; text-align: center; font-style: normal; font-variant: normal; font-weight: normal; font-stretch: normal; line-height: 100%; font-family: Arial, Helvetica, sans-serif; padding: 0.5em 0.8em 0.55em; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px 1px; border-radius: 0.5em; box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px; text-decoration: none; color: rgb(255, 255, 255) !important; background: rgb(17, 127, 170) !important;">Orden de Trabajo</a> <br /><div style="text-align: center;"> </div>



this code shows up the following button in collector or workforce. Depending of the pop up that you set.


As you can see is a better interface that a link for the user. I you need more information just let me know in the comments. 

In this case I been working in one survey for a local government in Costa Rica. They need the total time that the user spend doing the survey. So I Create a start and end type of fields(important: do not use the default values of now() ) Those kind of fields automatically generate the values. The time Start create the same value of the #now(), but the end is fill at the end of the #survey. Check the image. After create the start and end field you create the #calculation field with the following #formula 


round(int(${Hora_Fin} - ${Hora_Inicio}) div (1000*60),0)





This field is going to update automatically.



Enjoy creating forms and tell me if it works for your form.