I have a geography type question. Just a “point” and input mode is manual.
Just to have a visual display that the question is already answered, I want to put a static text showing the actual value of the variable i used in the geography question (which contains lat/lon).
I used this in the static text:
Coordinates of the new building: %A08_Coord%
where A08_Coord is the variable of the geography question.
Upon compiling and error message saying - “Substitution references an item that is not supported in substitutions.”
Tried other options like %A08_Coord.Latitude%, %A08_Coord.1%
but I’m not successful.
This article describes how a geography question may be used in the syntax. Afaik individual points are not addressable in the syntax, and as per this article geography question is not available for substitutions.
Use IsAnswered() function to examine whether the question has been answered.
If you need the coordinates to return to that building - use a GPS location question. If the objective is different, please explain.
Apologies, I stand corrected. The Geography class is documented in the Data Types document.
The fact that the point coordinates are not shown in the documentation could mean that this field is declared as private. If this is the case it would be useful to make it public (like Latitude, Longitude, etc. in the GPS class), so the coordinates can be used in validation expressions like GPS coordinates can be used.