2022.2

Table Of Contents
Select
ASelectelementisadrop-downlistwithmultipleentriesfromwhichtheusercanselectonlyone
option.WhenaddingaSelecttoaFormyoucantypetheoptionstobegiveninthedrop-downlistand
thevaluesrelatedtothem.Onlythevalueoftheselectedoptionwillbesenttotheserveronsubmitting
theform.
Bydefault,theSelectelement'sfirstitemisselectedinthebrowser.
TolearnhowtodynamicallyaddoptionstoaSelectelement,seethishow-to:toDynamicallyadd
optionstoadropdown.
Button
TheButtonelementisanelementthatcanbeclicked.WhenaddingaButtontoaFormyoucansetthe
button'stype:
l
Asubmitbuttonwillvalidatetheformdataandifvalidationissuccessful,sendthedatatothe
providedURL(bytheActionspecifiedfortheForm;see"ChangingaForm'sproperties"on
page642).
l
Aresetbuttonwillresettheformtoitsoriginalconfiguration,erasinganyinformationenteredand
optionsprovided.Note:Thiscannotbeundone!
l
Abuttonofthetypebuttondoesn'thaveastandardfunction.Thisismostlyusedwitha
JavaScripttoactivateascript.
Thebutton'stypecanalsobechangedontheAttributespane.
TheremaybemultiplesubmitbuttonsonaForm.Ifthisisthecase,specifyadifferentnameand/or
valueforeachofthebuttons.
Note: WhenaddingaButtontoaForm,youcanspecifyavalue,butnoname.TheButton'sID
willbecopiedtotheelement'snameattribute.However,afterinsertingtheButtonyoucan
changeitsnameontheAttributespane.
Hyperlink and mailto link
Linkscanbeaddedtoanytemplatebuttheyonlyworkinelectronicoutput(webpages,emailandPDF
files).Theycanbearegularhyperlinkpointingtoawebpageoramailtolinkthatwillopenthedefault
emailclientwhenclicked.
Note: Hyperlinks-bothexternalandinternal-arenotpreservedwhenprintingmultiplepageson
thesamesheet(see"Impositionoptions"onpage1144).
Page 647