2022.2

Table Of Contents
TimeandFormattedTime
TheTimeelementandtheFormattedTimeelementdisplaythecurrenttimeonthedevicewhenthe
formisfirstopened.Whentheelementistouched,atimeselectorappearssotheusercanmodifythis
time.TheFormattedTimeelementdisplaystimesinaformatthatdependsonthelocaleofthedevice
onwhichtheuserisviewingtheform.ATimeElementdisplaysdatesintheISO8601format:HH:MM.
Whentheformissubmitted,thetimedataissentasplaintext.AFormattedTimeelementsubmitsthe
timeinboththeISOformatmentionedaboveandintheformatthatdependsonthedevice'sregional
andlanguagesettings.ATimeelementsendsthetimeintheISOformatonly.
UserAccount
TheUserAccountElementaddsareadonlyfieldthatcontainstheCaptureOnTheGouseraccount(an
emailaddress)thatwasusedtosubmittheformtotheserver.Thisisusefulifaformisavailableto
manydifferentusers,todetectwhosubmittedit.
Ifdesiredthefieldcanbehidden;itwillstillbesubmitted.
Using COTG Elements
CaptureOnTheGo(COTG)elementsareWebFormelementsthatarespeciallydesignedtobeusedin
aCaptureOnTheGoForm(see"CaptureOnTheGo"onpage516).Thistopicexplainshowtoadd
theseelementstoaCaptureOnTheGoFormorandhowtopreparethemsothatwhentheFormissub-
mitted,theyprovidevaliddatathatcanbehandledeasily.
ForadescriptionofallCOTGelements,see"COTGElements"onpage633.
AddingCOTGelementstoaForm
ToaddaCOTGelementtoaFormorFieldset,clickinsidetheFormorFieldset,selectInsert > COTG
elements,andchoosetherespectiveelementonthemenu.Nowyoucanchangetheelement'sset-
tings:
1. AddanID(required)and,optionally,aclass.
Note: TheIDwillbecopiedtothenameattributeoftheelement.Thenameattributeiswhat
identifiesthefieldtothereceivingserver-sidescript.Tochangethename,selecttheele-
mentafterinsertingitandtypethenewnameontheAttributespane.
ID'sandclassesarealsousefulwithregardtovariabledata(see"Personalizingcontent"on
page708)andstyling(see"StylingtemplateswithCSSfiles"onpage672).
2. Typealabel,orchooseNolabelunderStyle,toomitthelabel.(ForLabelelementsthereareno
otheroptionstobeset.)
Page 536