|
POST
|
Hi @LeoDeRuiter looks like there's an issue with the if() statement for the assignmentType question. An if() statement requires three arguments: a condition; the result if the condition is true; and the result if the condition is false, i.e. if(condition, value if true, value if false). The final false argument is missing (i.e. what to return if all conditions are false); also the parentheses need to enclose the whole if() statement in each case. Please try something like: if(selected(${requestm}, "Yes"), 1, if(selected(${requestl}, "Yes"), 2, if(selected(${requestnm}, "Yes"), 3, if(selected(${requestnl}, "Yes"),4,'')))) Note the additional empty '' value for the final false argument. An if() statement returns the first true argument, e.g. the requestm question is evaluated first, so if requestm = 'Yes' then assignmentType will be 1, regardless of the answers to the other three questions. As a side note, please see this useful blog post by my colleague Josh Clifford regarding setting up Workforce assignments in Survey123. Best, Jim
... View more
03-14-2021
05:12 PM
|
1
|
0
|
2945
|
|
POST
|
Hi @NKneisel if possible, could you please share your XLSForm so I can take a closer look? From your screenshot it looks like the elev_layer1a calculation contains invalid syntax, i.e. ${snowlayers}, 1) Thanks, Jim
... View more
03-11-2021
03:02 PM
|
0
|
8
|
9511
|
|
POST
|
Hi @JamieUrquhart the cascading selects are almost there. Please see an example attached, which demonstrates cascading selects for the catchment and site_ID questions. Note that the syntax used here is column_name=value, where column_name is the column header on the choices sheet (e.g. 'partner') that contains the values for the filter, and value is the value to filter on (e.g. ${partner}). I wasn't sure about the local_name question, but it appears this is a 1:1 relationship with catchment_name, in which case you could just add the corresponding catchment name to the catchment column for this choice list and then use the catchment=${catchment} expression in the choice filter column. In addition to the Connect sample, there's lots of great info and examples in this blog post which could be useful. Hope this helps! Best, Jim
... View more
03-09-2021
06:21 PM
|
1
|
1
|
2952
|
|
POST
|
Hi @Amanda__Huber thanks for reporting this one - it looks to be the same issue as mentioned in this post, which should be rectified in an upcoming website hotfix (the hotfix is planned to go live in the next 24 hours at this stage). Please see the other post for workarounds in the meantime. Note that the latest version of Connect is 3.12.230. Best, Jim cc: @ZhifangWang
... View more
03-09-2021
05:06 PM
|
2
|
0
|
4051
|
|
POST
|
Hi @AllisonHoff The Lines and Polygons sample in Connect demonstrates several techniques for working with geotrace and geoshape questions. In particular, the Calculate from Repeated Points example shows how to construct a line (geotrace question) from geopoints in a repeat using the sum() function. Best, Jim
... View more
03-08-2021
06:27 PM
|
0
|
0
|
1447
|
|
POST
|
Hi @jpcarp further to @jcarlson's suggestions, here are some resources on Survey123 web app parameters: Documentation Survey123 Tricks of the Trade: Web form URL parameters Best, Jim
... View more
03-01-2021
03:01 PM
|
1
|
0
|
3182
|
|
BLOG
|
Hi @DougBrowning if you press and hold any of the six colour swatches, you'll get the default colour picker dialog for your device, which will allow you to choose a custom colour. Also for 3.12 we've added a 'highlighter' mode (still in beta) where you can press and hold the line thickness selectors to switch to highlighter mode, which makes the pen strokes transparent. Press and hold again to reset to opaque. Cheers, Jim
... View more
02-22-2021
02:59 PM
|
0
|
0
|
4285
|
|
BLOG
|
Hi @MikeOnzay good pick-up regarding 'hidden' question type. The 'hidden' question type is supported in both the field app and the web app. With the introduction of the hidden appearance in 3.11 we dropped the 'hidden' question type from the Standard template, with the thinking that this is a simpler/more effective method for hiding questions: the hidden appearance can be applied to any question type, including groups and repeats; the hidden question type defaults to string. However, your post raises a good point. For consistency and to reduce confusion we will include both the hidden question type and appearance in the Standard template for the 3.12 release. Thanks & best, Jim
... View more
02-17-2021
10:10 PM
|
1
|
0
|
9268
|
|
POST
|
@GaryBowles1 just to check, are there any additional parameters applied to the repeat in the bind::esri:parameters column? Is the user refreshing the inbox from the List or Map view (where a spatial filter could be applied in the latter)? Cheers, Jim
... View more
02-17-2021
07:10 PM
|
0
|
0
|
1774
|
|
POST
|
Hi @AlainChouinard The suggestion from @Anonymous User is a good one - if you get the column order set up in another workbook first, you can then copy/paste the whole lot into the new template (at cell A2). Should be significantly quicker than copying each column one-by-one. It is recommended to always use the paste values option when copying and pasting any content (cells, rows, ranges) in the survey worksheet, as this will ensure the data validation is preserved and erroneous links to other workbooks are not created. Please see this blog post for a few best practices that might be of use. Best, Jim
... View more
02-17-2021
06:54 PM
|
0
|
0
|
2771
|
|
POST
|
Hi @FedericoRiet_Sapriza Thanks for the screenshot of your XLSForm. Try using the round() function in your calculation, instead of int(). As described in this GeoNet post, in the field app the int() function discards the decimal places. Here is the calculation split into a few questions - you can see the number of months should be rounded to 24: Hope this helps, Jim
... View more
02-15-2021
10:04 PM
|
3
|
1
|
2300
|
|
POST
|
Hi @DavidBuehler there shouldn't be an issue passing values to a question inside a group; however, you cannot pass a value to a question inside a repeat. You can pass values to questions inside groups (or pages) using the same field:fieldname={value} syntax that you would use for a question outside of a group. Please see this documentation for more info on URL scheme and parameters. Hope this helps, Jim
... View more
02-15-2021
09:35 PM
|
1
|
0
|
1170
|
|
POST
|
Hi @GaryBowles1 the first expression shown above looks fine, so it's strange that the records are not being returned as expected. One thing to double-check is whether records are stored on the device in Drafts, Outbox, or Sent. A survey record can only exist in one folder at a time (e.g. if a record is in Sent, it won't be downloaded to the Inbox); try removing the records from the other folders and then refresh the Inbox. Best, Jim
... View more
02-15-2021
02:49 PM
|
0
|
2
|
1786
|
|
IDEA
|
Hi @PaulCreaner1 thanks for raising this idea! This is certainly a valid use case. Note that while the spinner only goes back 75 years, you can also use the forward & back arrows to change the year, which will allow you to go back further: Best, Jim
... View more
02-04-2021
03:29 PM
|
0
|
0
|
1291
|
|
POST
|
Hi @Anonymous User Your syntax is almost there, however, for these expressions in a report template, you need to use the choice and question names (not their labels). For select_one questions you can also use the following 'selected:' syntax: ${if Unknown | selected:"emergence"}Your conditional text goes here.${/} This is equivalent to: ${if Unknown == "emergence"}Your conditional text goes here.${/} To check if a choice is not selected, you can use: ${if Unknown != "emergence"}Your conditional text goes here.${/} If you haven't already seen it, there's a really useful quick reference that provides syntax examples for all the questions in your survey (see link on the Manage Templates dialog): More on conditional elements can be found here. Hope this is useful Best, Jim
... View more
01-21-2021
03:57 PM
|
3
|
1
|
7018
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-25-2020 06:40 PM | |
| 1 | 08-11-2024 10:11 PM | |
| 1 | 08-04-2019 06:44 PM | |
| 1 | 01-08-2025 03:26 PM | |
| 1 | 06-29-2020 07:21 PM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|