2022.2

Table Of Contents
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
isavailablewhenprocessingtheformdata.Theformatisdefinedbythedevice.
RepositoryID
TheRepositoryIDelementretrievestherepositoryID(readonly)fromtheappbasedonthecurrently
loggedonCOTGuser.YoucouldputtheRepositoryIDinahiddeninput,sothatwhentheformissub-
mitted,theRepositoryIDissubmittedaswell.Thisinformationcanbeusedontheserversidetotake
specificactions,suchassendingproperlybrandedemails.
Signature
TheSignatureElementaddsasignatureboxtoaCOTGform.Thesesignaturesarefilledinviatouch
input,eitherwithafingerorcapacitivepen.Touchingthesignatureboxopensupafullscreenboxused
tosign(generallymoreusefulinLandscapemodedependingonthedevice);afterconfirming,thedia-
logsavesthedataintotheForm.
SignaturedataistransmittedinSVGplaintextformat.Thistypeofdatacanbestoredinadatafieldina
DataMappinganddraggedfromtheDataModelintoatemplateasis.InPreviewmodeitwillbedis-
playedasanimagebecausetheDesigner,justlikewebbrowsers,knowshowtodisplaythiskindof
data.
Note: TheSignaturedatareturnedbytheCOTGapp(asofAndroid10.6.0,iOS10.6.0,andWin-
dows6.0)isformattedsothatthesignaturewillautomaticallybescaledtofitinthecontaining
boxinatemplate.Withpreviousversionsoftheapp,theformatofreturnedsignaturescould
vary.
Page 535