PDF Blog AcroT 2017 © Copyright E D lg#6 eiin# ulse:Otbr2,2017 23, October Published: #1 Revision #16, Blog PDF X at5 utnFed,teRdoBto Field Radio the Fields, Button 5: Part rcsigArbtFrsuigJavaScript using Forms Acrobat Processing [email protected] xenlPoesn faField a of Processing External AcroT AcroT .P Story P. D. E D Blog PDF X E X.Net http://www.acrotex.net   PDF Blog utnFed:TeRdoBto Field Button Radio The Fields: Button 8 . hnigteApaac n h rpriso h ai utnFed..5 . . Field Button Radio the of Properties the and Appearance the Changing Field Button Radio 8.3 a Field Clearing Button and Radio Checking a of Value 8.2 the Setting and Getting 8.1 • • • h pin Options The Tab Appearance The Tab General The ...... 5 ...... 7 ...... al fContents of Table ...... 6 ...... 4 ...... 3 ...... 3 PDF Blog ai utnfil ossso eiso uulytoo oe igt,ec widget each widgets, more) state. or ‘off’ two or (usually ‘on’ of an series in a placed of be consists can Field field Button button Radio a radio of A Value the Setting and Getting 8.1. the on efforts our all concentrate shall we article, this In Button fields, buttons of mouse. types the three are with There manipulates user. user the from the input keyboard control take interactive not do an fields is field button Field A Button Radio The Fields: Button 8. hnetesaeo h ai utnfil,adpesteGtbto gi,frfun. for again, button Get the press and field, button radio the age of user’s the state know the we Change hence pressed, is buttons the of which range. us tells value button The set and get Get: can We off. friend 8.1. or old Example on our using button field radio button particular illustrates. radio example a a ‘on’ of turn the value to button in the used a be be calls, to user-interface can allowed the known, is what widgets has, the widget of Each one only field button state. radio a in Normally, years 16 than less to years 0 mutually several of one select range? to age user your the is illustrates: The allow What follows values. that to example button is buttons the different radio field as with of alternatives, button but series exclusive widgets), radio a are a creating they of by (hence field purpose name button same radio the a with create all you interface, user the 1 3. A 2. A 1. o eiwo igt,see widgets, of review a For omly hnoerdobto so,teohr ntesm edaeoff. are field same the in others the on, is button radio one when Normally, fields button Radio hc box check button Push e n e utnvle fterdobto edta per above. appears that field button radio the of values button Set and Get oge ewe w tts nadoff. and on states, two between toggles saprl neatv oto hthsn value. no has that control interactive purely a is oti e frltdbtosta a ahb no off. or on be each can that buttons related of set a contain AcroT 0yaso greater or years years 30 30 than less to years years 21 21 than less to years 16 E lg#15. Blog X 1 nta es hyaesmlrt hc o.In box. check a to similar are they sense that In hs utnvle,if values, button These value. button h ai utnfield. button radio the stenext the as Field.value, 3 PDF Blog ydfut twl est o xml,cnie hs w ai utn,tefis n is one results. first the on the is see buttons, that to radio one button two the reset these for by the consider except on Press example, cleared, are default. For be buttons by will set. the ‘on’ buttons be of all will none default, it if by default, works by on is field one button If radio you, the default. button. that’s resetting the user, of on the strategy clicked whether The you from when get key we shift parameter parameter the second this give The pressing we was so (0-based). first, 1 the of after created value was a widget second The created. are they Comments. . the follows. clear buttons To push the cleared. for not script field, is The button button radio second the reset the can shift-click, we you field, when that notice You’ll button. used be that from cannot button 8.2. it another Example button, check to a have check you to button, used a field.) uncheck be same (To can button. method a this uncheck field, to button radio a For The Field Button Radio a Clearing and Checking 8.2. old. years 21 than of less value but field old years a 16 8.1. is Example user in example, using for field, immediately; button radio the using button situation of radio particular a set the to on easiest is depending it box, check so, the with like As field, the resetting by or method—, recommended a not is setting by values—which cleared be can field The Set: Field Button Radio The Fields: Button utnfil.Tesna for syntax The field. button 2 1 .hcTiBx{Wde:1 Cekt !vn.hf)}); (!event.shift) bCheckIt: 1, this.getField("rb8-2"); f.checkThisBox({nWidget: = f var Field.checkThisBox cekhso( Wde:Itgr Cekt ola }); Boolean bCheckIt: Integer, nWidget: Field.checkThisBox({ 1 The (1) Use Field.checkThisBox nWidget a eue oceko la atclrbto naradio a in button particular a clear or check to used be can checkThisBox aaee sa0bsdidx h igt r nee as indexed are widgets the index; 0-based a is parameter Field.value Field.value Field.value ocekardobto,adt alt la a clear to fail to and button, radio a check to is, sbs eas t au einterpreted be value its because best is oavleohrta n ftebutton the of one than other value a to a oi swl.T e h state the get To well. as it do can "16to21-" but Field.checkThisBox, el sta the that us tells   4 PDF Blog ehv rtywl lutae hs rprisi h rvosbos AcroT blogs, previous the fields. in other properties #13, the these properties illustrated of The well those pretty box. as have dialog We same Properties the Button are tab, Radio General the the of the of tab to General correspond that the properties JavaScript on the elements are box, dialog the to parallel Properties, see Below, of • JavaScript properties tab—where other Actions and appearance the the examine field. on button to radio concentrate begin the shall we defined—we that are arrives actions Field time Button such Radio the Until of Properties the and Appearance the Changing 8.3. of values the on based and message widget) first box the alert (for an (2)–(6) lines in build Comments. 8.3. Example false returns and with parameter buttons nWidget radio single takes individual query can You Field Button Radio The Fields: Button 7 6 5 4 3 2 1 h eea Tab General The 2 cal,temto eun for 1 returns method the Acually, tMg+ \\22 utn1i " is "; app.alert(strMsg); 1 buttons: Button radio "\r\u2022 " the += is of strMsg 0 state Button the "\r\u2022 of += "Report strMsg = strMsg this.getField("rb8-3"); var = f var iBxhce( Wde:Itgr}); Integer nWidget: Field.isBoxChecked({ and #14, otherwise. (.soCekd1)?"hce":"clear"); : "checked" ? ((f.isBoxChecked(1)) "clear"); + : "checked" ? ((f.isBoxChecked(0)) + iue1 Figure ftewde hs ne spse sthe as passed is index whose widget the if true, fe etn h il beto h agtrdobto ed ie() we (1), line field, button radio target the of object Field the getting After Use on xmlswl epeetdhr.Mv on! Move here. presented be will examples no so #15, 2 Field.checkThisBox() npg ,i censo fteGnrltbo h ai Button Radio the of tab General the of shot screen a is 6, page on f.isBoxChecked(1) true n for 0 and orpr h tt fasto ai buttons. radio of set a of state the report to false. h methods The Field.isBoxChecked(). frtescn one). second the (for nWidget f.isBoxChecked(0) au schecked, is value E D Blogs PDF X  5 PDF Blog onigrcageo h ai utn osbevle r n onay,1(hn,2 (Thin), 1 Styles: boundary), Line (no 0 are values (Thick). Possible 3 button. (Medium), radio the of rectangle bounding Thickness: property JavaScript n uofo h rpdw iti h srinterface. user the Font: in list drop-down the from Auto ing a teto oteqikky htacmaytepoete n ehd nthe in methods and properties the Color: accompany Border that Reference. keys API Acrobat In quick for available the JavaScript properties. not to and JavaScript attention Acrobat, the in pay the to available See values only Reader. are assigning Adobe methods on and and field, properties in target some listed general, the properties, of these use object tab, Field General see the tab, with appearance As the for now same the do Let’s • utnFed:TeRdoBto Field Button Radio The Fields: Button otSize: Font Color: Fill JavaScript. in part (readonly) h perneTab Appearance The Field.rotation Field.userName h eal au fteFn rpryin property Font the of value default The Field.display Field.name h ieo h hc.Stigthe Setting check. the of size The h akrudclro h ai button. radio the of color background The Use o h odri edrd h sritraeoestecocs Solid, choices: the offers interface user the rendered, is border the How eemnsteclro h border; the of color the Determines iue1 h eea a fRdoBto Properties Button Radio of Tab General The 1: Figure Field.lineWidth     ⇒ ⇒ ⇒ ⇒ Field.textFont aacitfrArbtAIReference API Acrobat for JavaScript osttewdho h odrsronigthe surrounding border the of width the set to sreadonly. is Field.textSize=0 iue2 Figure iue2 Figure Field.strokeColor yfis curn the acquiring first by 2, Figure sAoeP;cneunl,the consequently, PI; Adobe is npg 7. page on o uldocumentation, full for seuvln oselect- to equivalent is ⇐ ⇐ Field.required Field.readonly siscounter- its is 6 PDF Blog utnFed:TeRdoBto Field Button Radio The Fields: Button ahd eee,Ist n nelnd h orsodn ausfrteproperty the for values corresponding The Underlined. and Field.borderStyle Inset, Beveled, Dashed, In • AcroT blogs, previous the in properties #13, these illustrated well pretty have We execute red, to mark” Color: Text Executing hc,Crl,Cos imn,Sur,adSa.Tecrepnigvle o the for values corresponding The Star. and Square, Diamond, property Cross, Circle, Check, Style: Button counterpart. JavaScript its and o example, for style.st; AcroT Field.style h pin Tab Options The iue3 Figure Field.strokeColor Field.fillColor and #14, Field.textFont Field.textSize E lg#15. Blog X Field.style Field.borderStyle=border.s npg ,w e ptecrepnec ewe ahue nefc element interface user each between correspondence the up set we 8, page on hspoet eemnsteclro h cekmr” ostte“check the set To mark”. “check the of color the determines property This htsyeo hc oue h sritraeoestefloigchoices: following the offers interface user the use, to check of style What on xmlswl epeetdhere. presented be will examples no so #15, a lutae ntedsuso fteOtostbo h ai button, radio the of tab Options the of discussion the in illustrated was iue2 h perneTbo ai utnProperties Button Radio of Tab Appearance The 2: Figure     ⇒ ⇒ ⇒ ⇒ are Field.textColor=color.red are Field.style=border.ci border.s, style.ch, border.d, style.ci, esteLn tl oSolid. to Style Line the sets border.b, style.cr, esteBto tl oCrl.The Circle. to Style Button the sets and border.i, style.di, ⇐ ⇐ ⇐ Field.borderStyle Field.lineWidth Field.textColor and style.sq, border.u. E D Blogs PDF X 7 PDF Blog utnValue: Button b ie h o’apaac)we h omfil srst Use use reset. and is box, field this clear the or when check appearance) to ‘on’ the given default: (be by checked is Button use programmatically, value hyl tl c ieardobto edsol.Terdobtosblwalhv button have values, all below button buttons same radio the The same, have should. the they field are button if buttons radio value boxes. the even a check of like Actually, name in act the present still values. they’ll that not button so is different field that have button fields but radio button a radio create of we characteristic Normally, a is unison Here in field. selected are value and Field.radiosInUnison name same the with Buttons box, check the of tab The checked. is au,adsili o h hc box. check the for is still and Value, Field Button Radio The Fields: Button Field.defaultIsChecked Field.defaultValue Field.radiosInUnison 3 hr uthv enacag nnm fteue-nefc,ti edue ob aldExport called be to used field this user-interface, the of name in change a been have must There Field.exportValues AcroTeX_Rocks Field.style 3 hsfil steue nefc ostigteepr au.T e this set To value. export the setting to interface user the is field This Field.defaultValue or iue3 h pin a fRdoBto Properties Button Radio of Tab Options The 3: Figure     ⇒ ⇒ ⇒ ⇒ AcroT sry.Ciko hmt e elfrhwAcroT how for feel a get to them on Click (sorry). ocekti o,adt hnetebhvo fteradio the of behavior the change to and box, this check to E lg#15. Blog X Field.exportValues. fti o scekd h ai utnwl echecked be will button radio the checked, is box this If Field.defaultIsChecked a lutae ntedsuso fteOptions the of discussion the in illustrated was ots hte hsbox this whether test to Field.defaultValue s h il property Field the Use E Rocks. X 8 PDF Blog el htspet uhi o o,Isml utgtbc om retirement. my to back get must simply the I of now, part for part it considered one much still from pretty field. are that’s the pasted buttons Well, of and duplicate radio copied a new is than button these field rather radio field, another, button same original radio to the entire document of part an the are if of name example, same For the with field. buttons radio two definition, By as listed n nlrmr eoeIhv osa ff hnafil scpe ota hr are there that so copied is field a When off. name, snap same to the have with fields I give several before behave. to buttons remark created radio was final the property One how this of feature, choice unison a in author toggle document the the like buttons. didn’t radio people of Some set this with but experiment the Repeat button After radio one . least at need we Well you you? Do value. can different buttons. off a radio them more with turn click Can’t and button difference? playground the the favorite click see your buttons, to the return with once, around clicking playing finished have you After Field Button Radio The Fields: Button 4 hs ed r hncle igt,i coa jargon. Acrobat in widgets, called then are fields These o ai utnfilsti osntoccur. not does this fields button radio For terminal_field_name#index. 4 h igt peri h ilsNvgto panel Navigation Fields the in appear widgets the DP S 9