2022.2

Table Of Contents
DeviceInfo
TheDeviceInfoElementaddsafieldthatcontainssomeinformationaboutthedevice(phoneortablet)
thatissubmittingtheCOTGForm.Thisincludesthedevice'stype(AndroidoriOS),operatingsystem
version,devicemodelanditsUUID(UniversallyUniqueIdentifier).Thisinformationcanbeusefulfor
bothtroubleshooting,iferrorsoccuronspecificdevicetypesforexample,aswellasforsecurityval-
idation:itispossibletomaintainalistofdeviceUUIDsthatareallowedaccess,topreventunauthorized
useevenifsomeonehasausernameandpasswordtoarepository.
DocumentID
TheDocumentIDelementretrievestheDocumentIDoftheformcurrentlyviewedbytheapp.You
couldputtheDocumentIDinahiddeninput,sothatwhentheformissubmitted,theDocumentIDis
submittedaswell.ADocumentIDcanbeusedontheserversidetocheck(intheConnectdatabase)if
thedatahasalreadybeensubmitted.
FieldsTable
TheFieldsTableelementaddsatablewithtworows,aDeletebuttonattheendofthefirstrowandan
Addbuttonattheendofthesecondrow.Insidetherowsyoucanputwhateverelementsyouneed.The
usercanclick(orrather,touch)theAddbuttontoaddarowtothetable.Thenewrowwillcontainthe
sameelementsasthefirstrow.
Thenamesofallelementsinthefirstrowwillbeextendedwith__0,whilethenamesoftheelementsin
thesecondrowwillbeextendedwith__1,etc.(Thismeansthatthesubmitteddatacanbegrouped;
see"Groupingdatausingarrays"onpage539.)
Nestedtables-i.e.FieldsTablesusedwithinaFieldsTable-aresupportedasofversion2021.1.They
followthesamenamingpattern,forexample:level1[row_0][level2][row_1][name].
Geolocation
TheGeolocationElementaddsabuttontoreadthedevice'scurrentGPScoordinatesandsavethemin
aformfield.Whenthebuttonispressed,theGPScoordinatesarerequestedandsaved.Whenthe
formissubmitted,theGeolocationdataissentinplaintext.
High accuracy
Bydefault,devicesattempttoretrieveapositionusingnetwork-basedmethods.Totelltheframework
tousemoreaccuratemethods,suchassatellitepositioning,theHighAccuracysettinghastobe
enabledontheGeolocationelement.
Tomakethissetting,right-clicktheGeolocationelement(orselectitontheOutlinepane)afteraddingit
totheform,selectGeolocation propertiesandchecktheHigh Accuracyoption.
Note: TheGeolocationelementhasseveraloptions,ofwhichonlyonecanbesetviatheuser
interface.Alloptions,includingthosethatcannotbesetinDesignview,canbesetviathedata-
Page 534