1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 % to be able to use custom colors
8 \usepackage[svgnames,rgb]{xcolor}
10 % ------------------------------------
11 % used to check for needed LaTeX packages
14 % check for package insdljs
15 % used for JavScript code
17 \IfFileExists{insdljs.sty}
19 \setboolean{insdljs}{true}}
20 {\setboolean{insdljs}{false}}
22 \pdfcatalog{/AA \the\pdflastobj\space 0 R}
23 \begin{insDLJS}[exaaae]{exaaae}{JavaScript}
24 function validateTime(){
26 if((event.value == "u") || (event.value == "unlimited")) {
27 this.getField("from").display = display.hidden;
28 this.getField("to").display = display.hidden;
30 this.getField("from").display = display.visible;
31 this.getField("to").display = display.visible;
32 this.getField("from").setFocus();
42 % set fonts for nicer pdf view
43 \IfFileExists{lmodern.sty}
44 {\usepackage{lmodern}}{}
46 \fi % end if pdflatex is used
48 \options BCOR8mm,pagesize
49 \use_default_options false
53 \maintain_unincluded_children false
55 \language_package default
60 \font_typewriter default
62 \font_default_family default
63 \use_non_tex_fonts false
69 \default_output_format default
71 \bibtex_command bibtex
72 \index_command default
76 \pdf_title "Description of the module pdfcomment"
77 \pdf_author "Uwe Stöhr"
78 \pdf_subject "PDF form"
79 \pdf_keywords "LyX, PDF forms, hyperref"
81 \pdf_bookmarksnumbered true
82 \pdf_bookmarksopen true
83 \pdf_bookmarksopenlevel 2
88 \pdf_pdfusetitle false
89 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, urlbordercolor={1 0 0}"
92 \use_package amsmath 1
93 \use_package amssymb 1
96 \use_package mathdots 1
97 \use_package mathtools 1
99 \use_package stackrel 0
100 \use_package stmaryrd 0
101 \use_package undertilde 0
103 \cite_engine_type default
107 \paperorientation portrait
111 \notefontcolor #0000ff
118 \paragraph_separation skip
120 \quotes_language english
123 \paperpagestyle default
124 \tracking_changes false
125 \output_changes false
128 \html_be_strict false
133 \begin_layout Begin PDF Form
134 \begin_inset Argument 1
137 \begin_layout Plain Layout
138 action=mailto:forms@lyx.test?subject={The submitted PDF form},method=post
147 Description of the module PDF Form
154 \begin_layout Standard
155 \begin_inset Note Note
158 \begin_layout Plain Layout
159 To export all parts of this document to PDF the LaTeX-package
164 If it is not installed you can export the document anyway but the example
165 in the section about dynamic form fields won't appear in the output.
173 \begin_layout Standard
174 By loading the module PDF
178 Form the whole document or a part of it can be made a PDF form.
179 You can add all possible form elements like text fields buttons etc.
180 This document describes how this is done.
183 \begin_layout Section
185 \begin_inset CommandInset label
187 name "sec:Preparation"
194 \begin_layout Standard
195 At first load the module PDF
199 Form in the document settings of your file.
200 To make the whole document a form, insert the environment
212 from LyX's dropdown menu at the beginning of the document.
213 If only a part of the document should be a form, add
225 at the position where the form should start.
228 \begin_layout Standard
229 \begin_inset Note Greyedout
232 \begin_layout Plain Layout
237 It is only possible to have one form in a PDF file!
245 \begin_layout Standard
246 If the form data should be submitted to a server or the like, then you must
247 specify the URL to where it should be submitted as parameter of the
260 This is done by using the menu
262 Insert\SpecialChar \menuseparator
274 For example in this document the following was inserted to the parameter
278 \begin_layout Standard
281 action=mailto:forms@lyx.test?subject={The submitted PDF form},
282 \begin_inset Newline newline
288 \begin_layout Standard
289 This sends the form data as email to
295 \begin_inset Quotes eld
298 The submitted PDF form
299 \begin_inset Quotes erd
302 and the HTML method is
307 (The other possible method would be
314 \begin_layout Standard
315 \begin_inset Newpage newpage
321 \begin_layout Section
325 \begin_layout Standard
330 possible types of fields in a PDF form:
333 \begin_layout Subsection
337 \begin_layout Standard
338 A text field is added by inserting the custom inset
344 Insert\SpecialChar \menuseparator
352 Write inside the inset the label for the text field that will be printed
353 in the PDF output before the field.
355 \begin_inset Newline newline
359 \begin_inset Flex TextField
362 \begin_layout Plain Layout
364 \begin_inset Argument 1
367 \begin_layout Plain Layout
373 Enter your name here:
381 \begin_layout Standard
382 You must also specify a field name for text fields: Set the cursor into
383 the inset and use the menu
385 Insert\SpecialChar \menuseparator
397 There insert for example the parameter
406 Only if your text field has a label and no parameters the specification
407 of the name can be omitted.
410 \begin_layout Standard
411 All form fields can be customized by adding a parameter inset to them.
412 To do this, set the cursor into the field inset and use the menu
414 Insert\SpecialChar \menuseparator
428 \begin_layout Standard
429 \begin_inset Note Greyedout
432 \begin_layout Plain Layout
437 All braces and brackets in form parameters must be inserted as TeX code!
445 \begin_layout Standard
446 Here is a customized multiline text field with a width of 5
447 \begin_inset space \thinspace{}
450 cm and a proposed content:
451 \begin_inset VSpace defskip
455 \begin_inset Newline newline
459 \begin_inset Flex TextField
462 \begin_layout Plain Layout
464 \begin_inset Argument 1
467 \begin_layout Plain Layout
468 name=customer2, width=5cm, multiline, width=0.6
470 textwidth, height=3cm, value={Testman}
475 Enter your name here:
483 \begin_layout Standard
484 \begin_inset Note Greyedout
487 \begin_layout Plain Layout
492 It is highly recommended to use a uniform layout of all fields in your
495 \begin_inset space \thinspace{}
499 \begin_inset CommandInset ref
501 reference "sec:Form-field-and"
505 for how this is done.
513 \begin_layout Subsection
517 \begin_layout Standard
518 A check box is added by inserting the custom inset
523 Write inside the inset the label for the box.
525 \begin_inset Newline newline
529 \begin_inset Flex CheckBox
532 \begin_layout Plain Layout
534 \begin_inset Argument 1
537 \begin_layout Plain Layout
543 Are you older than 18 years?
551 \begin_layout Standard
552 You must also specify a field name for check boxes: Set the cursor into
553 the inset and use the menu
555 Insert\SpecialChar \menuseparator
567 There insert for example the parameter
576 Only if your check box has a label and no parameters the specification
577 of the name can be omitted.
580 \begin_layout Subsection
584 \begin_layout Standard
585 A choice menu is added by inserting the custom inset
590 The label is inserted into the
595 The choices are inserted to the inset as comma-separated list.
603 \begin_layout Description
604 Radio Only one choice can be selected
607 \begin_layout Description
608 Combo The choices are listed in a combo box (dropdown list) but the user
609 is allowed to choose something that is not in the predefined list.
612 \begin_layout Description
613 Popdown All choices are listed below each other.
614 It the filed is not high enough a scroll bar is automatically added to
618 \begin_layout Standard
619 To determine the choice menu type, set the cursor into the inset and use
622 Insert\SpecialChar \menuseparator
634 There insert the parameter
649 \begin_layout Standard
650 Here is an example for the radio type:
651 \begin_inset Newline newline
655 \begin_inset Flex ChoiceMenu
658 \begin_layout Plain Layout
660 \begin_inset Argument 1
663 \begin_layout Plain Layout
670 \begin_inset Argument 2
673 \begin_layout Plain Layout
687 \begin_layout Standard
688 Here is an example for the combo type:
689 \begin_inset Newline newline
693 \begin_inset Flex ChoiceMenu
696 \begin_layout Plain Layout
698 \begin_inset Argument 1
701 \begin_layout Plain Layout
707 Albania=Al, Armenia=Ar, Azerbaidschan=Az
708 \begin_inset Argument 2
711 \begin_layout Plain Layout
725 \begin_layout Standard
726 Here is an example for the popdown type:
727 \begin_inset Newline newline
731 \begin_inset Flex ChoiceMenu
734 \begin_layout Plain Layout
736 \begin_inset Argument 1
739 \begin_layout Plain Layout
740 popdown, name=country
745 Albania=Al, Armenia=Ar, Azerbaidschan=Az
746 \begin_inset Argument 2
749 \begin_layout Plain Layout
763 \begin_layout Standard
764 \begin_inset Note Greyedout
767 \begin_layout Plain Layout
772 For the popdown type you must always specify a field name: Add to the
784 for example the parameter
800 \begin_layout Standard
801 It is recommended to add a short name for every choice to be able to access
802 them and to know which one was chosen by the user- This is done by adding
807 behind each choice (where
812 For example the radio type example contains this choice list:
818 \begin_inset Quotes eld
822 \begin_inset Quotes erd
825 you know that he chose the choice
826 \begin_inset Quotes eld
830 \begin_inset Quotes erd
834 By specifying names you can also preset/propose e.g.
835 \begin_inset space \space{}
839 \begin_inset Quotes eld
843 \begin_inset Quotes erd
846 by adding the parameter
854 \begin_layout Standard
855 \begin_inset Flex ChoiceMenu
858 \begin_layout Plain Layout
860 \begin_inset Argument 1
863 \begin_layout Plain Layout
864 radio, name=sex, default=m
870 \begin_inset Argument 2
873 \begin_layout Plain Layout
887 \begin_layout Standard
888 \begin_inset Note Greyedout
891 \begin_layout Plain Layout
896 Due to a bug in the LaTeX package
900 it is currently only possible the set the first choice as default.
908 \begin_layout Subsection
912 \begin_layout Standard
913 A push button is added by inserting the custom inset
918 Write inside the inset the label for the button.
920 \begin_inset Newline newline
924 \begin_inset Flex PushButton
927 \begin_layout Plain Layout
929 Don't click on this button or your fridge will be destroyed!!!
937 \begin_layout Standard
938 The action that is triggered by pressing the button is specified by JavaScript
940 To specify it, set the cursor into the inset and use the menu
942 Insert\SpecialChar \menuseparator
954 There insert the parameter
958 and write the JavaScript code between the braces.
961 \begin_layout Standard
962 \begin_inset Flex PushButton
965 \begin_layout Plain Layout
967 \begin_inset Argument 1
970 \begin_layout Plain Layout
971 onclick={app.alert("What the hell? Now you destroyed your fridge.
977 Don't click on this button or your fridge will be destroyed!!!
985 \begin_layout Standard
986 For info about JavaScript, see its documentation,
987 \begin_inset CommandInset citation
996 \begin_layout Standard
997 A common usage for pus buttons is to open a weblink.
998 Such a button is created by inserting the command
1004 into the button inset.
1011 is used in the scheme
1012 \begin_inset Newline newline
1019 href{link target}{text}
1022 \begin_layout Standard
1023 In the following button this code was used:
1024 \begin_inset Newline newline
1031 href{http://wiki.lyx.org}{Information how to fill out this form}
1034 \begin_layout Standard
1035 \begin_inset Flex PushButton
1038 \begin_layout Plain Layout
1042 href{http://wiki.lyx.org}{Information how to fill out this form}
1050 \begin_layout Standard
1051 To get rid of the frame for weblinks add this to the additional options
1052 in the document settings under
1055 \begin_inset space ~
1063 \begin_layout Standard
1066 urlbordercolor={1 0 0}
1069 \begin_layout Standard
1070 if your push button border color is red (the default), otherwise use the
1071 same color definition as for your push button border color.
1074 \begin_layout Subsection
1078 \begin_layout Standard
1079 A submit button is used to submit the form data to a server.
1080 It is added by inserting the custom inset
1085 Write inside the inset the label for the button.
1087 \begin_inset Newline newline
1091 \begin_inset Flex SubmitButton
1094 \begin_layout Plain Layout
1096 \begin_inset Argument 1
1099 \begin_layout Plain Layout
1105 Send your data via email
1113 \begin_layout Standard
1114 \begin_inset Note Greyedout
1117 \begin_layout Plain Layout
1122 You can only use a submit button if you specified the submit method and
1123 target in the PDF form environment options! See sec.
1124 \begin_inset space \thinspace{}
1128 \begin_inset CommandInset ref
1130 reference "sec:Preparation"
1134 for the description.
1135 If there are no specifications you will get LaTeX errors!
1143 \begin_layout Standard
1144 \begin_inset Note Greyedout
1147 \begin_layout Plain Layout
1152 If you have more than one submit button in your document you must specify
1153 a name for each of them to avoid LaTeX errors! For example write
1161 is the button name).
1169 \begin_layout Subsection
1173 \begin_layout Standard
1174 A reset button is used to reset all form fields to the initial state.
1175 It is added by inserting the custom inset
1180 Write inside the inset the label for the button.
1182 \begin_inset Newline newline
1186 \begin_inset Flex ResetButton
1189 \begin_layout Plain Layout
1191 \begin_inset Argument 1
1194 \begin_layout Plain Layout
1208 \begin_layout Standard
1209 \begin_inset Note Greyedout
1212 \begin_layout Plain Layout
1217 If you have more than one reset button in your document you must specify
1218 a name for each of them to avoid LaTeX errors! For example write
1226 is the button name).
1234 \begin_layout Section
1235 PDF viewer action buttons
1238 \begin_layout Standard
1239 One often needs basic actions to be done by the PDF viewer program.
1240 For example to print the form.
1241 Such PDF program-specific actions can be triggered by adding inserting
1247 The PDF viewer programs
1255 can handle all possible actions while other PDF viewers might only support
1257 However, all PDF viewer programs support the basic things like printing,
1259 \begin_inset space ~
1262 as, view in fullscreen etc..
1265 \begin_layout Standard
1266 To specify the action insert its name to the
1271 A list with possible actions can be found in sec.
1272 \begin_inset space \thinspace{}
1276 \begin_inset Quotes eld
1279 Acrobat-specific behavior
1280 \begin_inset Quotes erd
1283 of the documentation of the LaTeX package
1288 \begin_inset CommandInset citation
1297 \begin_layout Standard
1298 Here are some examples:
1301 \begin_layout Description
1303 \begin_inset Flex PDFAction
1306 \begin_layout Plain Layout
1308 \begin_inset Argument 1
1311 \begin_layout Plain Layout
1325 \begin_layout Description
1327 \begin_inset space ~
1331 \begin_inset Flex PDFAction
1334 \begin_layout Plain Layout
1336 \begin_inset Argument 1
1339 \begin_layout Plain Layout
1353 \begin_layout Description
1355 \begin_inset space ~
1359 \begin_inset space ~
1363 \begin_inset Flex PDFAction
1366 \begin_layout Plain Layout
1368 \begin_inset Argument 1
1371 \begin_layout Plain Layout
1377 View the form in fullscreen
1385 \begin_layout Section
1386 Form field and button customization
1387 \begin_inset CommandInset label
1389 name "sec:Form-field-and"
1396 \begin_layout Standard
1397 Since all form elements should look uniform, one can determine their layout
1398 using the following styles:
1401 \begin_layout Description
1403 \begin_inset space ~
1407 \begin_inset space ~
1413 \begin_layout Description
1415 \begin_inset space ~
1419 \begin_inset space ~
1425 \begin_layout Description
1427 \begin_inset space ~
1431 \begin_inset space ~
1434 Style affects all choice menu types
1437 \begin_layout Description
1439 \begin_inset space ~
1443 \begin_inset space ~
1446 Style affects only the combo box style
1449 \begin_layout Description
1451 \begin_inset space ~
1455 \begin_inset space ~
1458 Style affects only the popdown box style
1461 \begin_layout Description
1463 \begin_inset space ~
1467 \begin_inset space ~
1470 Style affects only the radio box style
1473 \begin_layout Description
1475 \begin_inset space ~
1479 \begin_inset space ~
1485 \begin_layout Description
1487 \begin_inset space ~
1491 \begin_inset space ~
1497 \begin_layout Description
1499 \begin_inset space ~
1503 \begin_inset space ~
1509 \begin_layout Text Field Style
1513 \begin_layout Standard
1514 The content of the styles is a comma-separated list of parameters.
1515 The possible parameters are listed in sec.
1516 \begin_inset space \thinspace{}
1520 \begin_inset Quotes eld
1523 Forms optional parameters
1524 \begin_inset Quotes erd
1527 of the documentation of the LaTeX package
1532 \begin_inset CommandInset citation
1539 It is important that the parameter print is always part of the definition,
1540 otherwise the fields won't appear in the PDF output.
1541 The defined style is applied to all fields following the definition.
1544 \begin_layout Subsubsection*
1545 Here are some examples:
1548 \begin_layout Text Field Style
1549 print, bordercolor=red,borderstyle=U, backgroundcolor=lightgray, color=lime,
1550 maxlen=10, align=2, charsize=16pt
1553 \begin_layout Check Box Style
1554 print, borderstyle=S, checkboxsymbol=
1559 \begin_layout Combo Box Style
1560 print, bordercolor={0.33 0.66 0.33}, borderstyle=D
1563 \begin_layout Popdown Box Style
1567 \begin_layout Radio Box Style
1568 print, borderstyle=I, radiosymbol=6
1571 \begin_layout Push Button Style
1572 print, borderstyle=B, bordercolor=lime
1575 \begin_layout Submit Button Style
1576 print, borderwidth=0, bordercolor=white
1579 \begin_layout Reset Button Style
1580 print, bordercolor=lime
1583 \begin_layout Itemize
1584 Text field with gray background, lime text color, a red border only below
1585 the field, right alignment, 16
1586 \begin_inset space \thinspace{}
1589 pt font size and a limitation for maximal 10
1590 \begin_inset space ~
1593 characters to insert:
1594 \begin_inset VSpace defskip
1598 \begin_inset Newline newline
1602 \begin_inset Flex TextField
1605 \begin_layout Plain Layout
1607 Enter your name here:
1615 \begin_layout Standard
1643 \begin_layout Standard
1644 \begin_inset Note Greyedout
1647 \begin_layout Plain Layout
1656 has only an effect for text fields if a
1668 \begin_layout Itemize
1669 Check box with normal border and symbol
1672 \begin_inset VSpace defskip
1676 \begin_inset Newline newline
1680 \begin_inset Flex CheckBox
1683 \begin_layout Plain Layout
1685 Are you older than 18 years?
1693 \begin_layout Standard
1694 The symbol is either specified as number or with the command
1695 \begin_inset Newline newline
1705 \begin_inset Newline newline
1712 is one of the possible numbers listed in Table
1713 \begin_inset space ~
1717 \begin_inset CommandInset citation
1726 \begin_layout Itemize
1727 Combo box with dashed, colored border:
1728 \begin_inset VSpace defskip
1732 \begin_inset Newline newline
1736 \begin_inset Flex ChoiceMenu
1739 \begin_layout Plain Layout
1741 \begin_inset Argument 1
1744 \begin_layout Plain Layout
1750 Albania=Al, Armenia=Ar, Azerbaidschan=Az
1751 \begin_inset Argument 2
1754 \begin_layout Plain Layout
1768 \begin_layout Itemize
1769 Popdown box where only 2
1770 \begin_inset space ~
1773 entries are shown and where the last entry is preselected:
1774 \begin_inset VSpace defskip
1778 \begin_inset Newline newline
1782 \begin_inset Flex ChoiceMenu
1785 \begin_layout Plain Layout
1787 \begin_inset Argument 1
1790 \begin_layout Plain Layout
1791 popdown, name=country2, value=Az
1796 Albania=Al, Armenia=Ar, Azerbaidschan=Az
1797 \begin_inset Argument 2
1800 \begin_layout Plain Layout
1814 \begin_layout Standard
1815 \begin_inset VSpace defskip
1819 \begin_inset Note Greyedout
1822 \begin_layout Plain Layout
1839 has no effect for popdown boxes.
1847 \begin_layout Itemize
1848 Radio box with inverted bevel border and symbol number
1849 \begin_inset space ~
1853 \begin_inset VSpace defskip
1857 \begin_inset Newline newline
1861 \begin_inset Flex ChoiceMenu
1864 \begin_layout Plain Layout
1866 \begin_inset Argument 1
1869 \begin_layout Plain Layout
1876 \begin_inset Argument 2
1879 \begin_layout Plain Layout
1893 \begin_layout Itemize
1894 Push button with a bevel border and colored text:
1895 \begin_inset VSpace defskip
1899 \begin_inset Newline newline
1903 \begin_inset Flex PushButton
1906 \begin_layout Plain Layout
1908 \begin_inset Argument 1
1911 \begin_layout Plain Layout
1912 onclick={app.alert("Why do you click this?")}
1921 textcolor{red}{Don't click on this button!!!}}
1929 \begin_layout Standard
1930 \begin_inset VSpace defskip
1934 \begin_inset Note Greyedout
1937 \begin_layout Plain Layout
1950 has no effect for push, submit and reset buttons.
1958 \begin_layout Standard
1959 As workaround use the command
1965 as described in sec.
1966 \begin_inset space \thinspace{}
1970 \begin_inset Quotes eld
1974 \begin_inset Quotes erd
1987 that is used is used in the scheme
1988 \begin_inset Newline newline
1995 textcolor{color}{characters to color}
1998 \begin_inset Newline newline
2001 In the button above this code was used:
2002 \begin_inset Newline newline
2011 textcolor{red}{Don't click on this button!!!}}
2014 \begin_layout Standard
2015 \begin_inset Note Greyedout
2018 \begin_layout Plain Layout
2027 has no effect for push, submit and reset buttons.
2035 \begin_layout Standard
2042 as described in sec.
2043 \begin_inset space \thinspace{}
2047 \begin_inset Quotes eld
2051 \begin_inset Quotes erd
2059 In the button below this code was used:
2060 \begin_inset Newline newline
2069 raisebox{1cm}{}Send your data via mail
2072 \begin_layout Standard
2073 \begin_inset Note Greyedout
2076 \begin_layout Plain Layout
2085 has no effect for push, submit and reset buttons.
2093 \begin_layout Standard
2100 as described in sec.
2101 \begin_inset space \thinspace{}
2105 \begin_inset Quotes eld
2109 \begin_inset Quotes erd
2117 In the reset button below this code was used:
2118 \begin_inset Newline newline
2125 makebox[7cm]{Reset the form}
2128 \begin_layout Itemize
2129 Submit button with cyan background color and increased height:
2130 \begin_inset VSpace defskip
2134 \begin_inset Newline newline
2138 \begin_inset Flex SubmitButton
2141 \begin_layout Plain Layout
2143 \begin_inset Argument 1
2146 \begin_layout Plain Layout
2158 raisebox{1cm}{}Send your data via mail}
2164 \begin_inset VSpace bigskip
2170 \begin_layout Itemize
2171 Reset button with a width of 7
2172 \begin_inset space \thinspace{}
2176 \begin_inset VSpace defskip
2180 \begin_inset Newline newline
2184 \begin_inset Flex ResetButton
2187 \begin_layout Plain Layout
2189 \begin_inset Argument 1
2192 \begin_layout Plain Layout
2200 makebox[7cm]{Reset the form}
2208 \begin_layout Section
2212 \begin_layout Standard
2213 It is also possible to have dynamic form fields.
2214 This means that depending on the actions of the user fields can (dis)appear
2215 or change their appearance.
2216 To use this feature, add these lines to your document preamble:
2219 \begin_layout Standard
2224 usepackage[pdftex]{insdljs}
2225 \begin_inset Newline newline
2239 \begin_layout Standard
2240 Then add the necessary JavaScript code to your preamble or as TeX code to
2242 For info about JavaScript, see its documentation,
2243 \begin_inset CommandInset citation
2252 \begin_layout Standard
2256 \begin_layout Plain Layout
2266 \begin_inset Note Note
2269 \begin_layout Plain Layout
2270 The following section will only be displayed when the LaTeX package
2282 \begin_layout Standard
2283 For the following choice menu this JavaScript code was used:
2286 \begin_layout Standard
2287 \begin_inset listings
2288 lstparams "language=TeX"
2292 \begin_layout Plain Layout
2296 begin{insDLJS}[exaaae]{exaaae}{JavaScript}
2299 \begin_layout Plain Layout
2301 function validateTime(){
2304 \begin_layout Plain Layout
2309 \begin_layout Plain Layout
2311 if((event.value == "u") || (event.value == "unlimited")) {
2314 \begin_layout Plain Layout
2316 this.getField("from").display = display.hidden;
2319 \begin_layout Plain Layout
2321 this.getField("to").display = display.hidden;
2324 \begin_layout Plain Layout
2329 \begin_layout Plain Layout
2331 this.getField("from").display = display.visible;
2334 \begin_layout Plain Layout
2336 this.getField("to").display = display.visible;
2339 \begin_layout Plain Layout
2341 this.getField("from").setFocus();
2344 \begin_layout Plain Layout
2349 \begin_layout Plain Layout
2354 \begin_layout Plain Layout
2359 \begin_layout Plain Layout
2371 \begin_layout Standard
2375 \begin_inset space ~
2379 \begin_inset space ~
2384 of the following choice menu are
2385 \begin_inset Newline newline
2390 name=contract,radio,value=tl,default=tl,validate={validateTime();}
2393 \begin_layout Standard
2394 \begin_inset Flex ChoiceMenu
2397 \begin_layout Plain Layout
2399 \begin_inset Argument 1
2402 \begin_layout Plain Layout
2403 name=contract,radio,value=tl,default=tl,validate={validateTime();}
2408 term-limited=tl, unlimited=u
2409 \begin_inset Argument 2
2412 \begin_layout Plain Layout
2424 \begin_inset VSpace defskip
2430 \begin_layout Standard
2431 \begin_inset Tabular
2432 <lyxtabular version="3" rows="3" columns="2">
2433 <features rotate="0" tabularvalignment="middle">
2434 <column alignment="left" valignment="top">
2435 <column alignment="center" valignment="top">
2437 <cell alignment="left" valignment="top" usebox="none">
2440 \begin_layout Plain Layout
2446 <cell alignment="center" valignment="top" usebox="none">
2449 \begin_layout Plain Layout
2450 \begin_inset Flex TextField
2453 \begin_layout Plain Layout
2455 \begin_inset Argument 1
2458 \begin_layout Plain Layout
2459 name=from,width=10em
2476 <cell alignment="center" valignment="top" usebox="none">
2479 \begin_layout Plain Layout
2485 <cell alignment="center" valignment="top" usebox="none">
2488 \begin_layout Plain Layout
2489 \begin_inset VSpace -1.5mm
2499 <cell alignment="left" valignment="top" usebox="none">
2502 \begin_layout Plain Layout
2508 <cell alignment="center" valignment="top" usebox="none">
2511 \begin_layout Plain Layout
2512 \begin_inset Flex TextField
2515 \begin_layout Plain Layout
2517 \begin_inset Argument 1
2520 \begin_layout Plain Layout
2544 \begin_layout Standard
2548 \begin_layout Plain Layout
2558 \begin_inset Note Note
2561 \begin_layout Plain Layout
2562 The following will be displayed when the LaTeX package
2574 \begin_layout Standard
2575 You need to install the package
2579 to see the content of this section in the output.
2582 \begin_layout Standard
2586 \begin_layout Plain Layout
2598 \begin_layout End PDF Form
2599 \begin_inset Note Note
2602 \begin_layout Plain Layout
2611 \begin_layout Section
2615 \begin_layout Itemize
2616 To be able to use all kinds of colors and color definitions you must load
2621 in the document preamble this way:
2622 \begin_inset Newline newline
2629 usepackage[svgnames,rgb]{xcolor}
2632 \begin_layout Itemize
2641 custom background colors you must disable in these programs to highlight
2642 the available form fields in the PDF.
2645 \begin_layout Bibliography
2646 \begin_inset CommandInset bibitem
2647 LatexCommand bibitem
2653 \begin_inset CommandInset href
2655 name "JavaScript reference"
2656 target "https://developer.mozilla.org/en/docs/Web/JavaScript/Reference"
2663 \begin_layout Bibliography
2664 \begin_inset CommandInset bibitem
2665 LatexCommand bibitem
2671 \begin_inset CommandInset href
2673 name "Documentation"
2674 target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/manual.pdf"
2678 of the LaTeX package
2685 \begin_layout Bibliography
2686 \begin_inset CommandInset bibitem
2687 LatexCommand bibitem
2693 \begin_inset CommandInset href
2695 name "Documentation"
2696 target "http://mirrors.ctan.org/macros/latex/required/psnfss/psnfss2e.pdf"
2700 of the LaTeX package