2022.2

Table Of Contents
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-
paramsattributeintheHTML,orincode;see"Changingdefaultsettingsforwidgets"on
page547.
Image&Annotation
TheImage&Annotationelementismeanttobeusedwithanimagethatneedsinputfromtheuser.
WheninsertinganImage&Annotationelementyouhavetoselecttheimage.Theusercansimplyclick
(orrather,touch)theimagetobringuptheannotationdialog.AnnotationscanbemadeinaMarker
(semi-transparent)orPencil(solid)style,indifferentcolorsandwithdifferentwidths.
AnnotationsaresubmittedinSVGformatbyahiddeninput.ThenameofthatinputistheIDofthe
Image&Annotationelement,followedby"-note-data",forexampleimage_annotation1-note-data.
Locale
TheLocaleElementdoesnothaveaUIelementintheform.Insertingitaddsahiddeninputfieldthat
willcontainthedevice'ssetlocalewhentheformissubmitted.Thisdataissentinplaintextformatand
Page 637