Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2495 connectés 

  FORUM HardWare.fr
  Programmation
  Divers

  validation sur pdf

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

validation sur pdf

n°1823913
seagull6
Posté le 09-12-2008 à 00:53:02  profilanswer
 

Bonjour,
j' ai créé un formulaire d'inscription avec adobe live cycle dont voici la source ci dessous.Ce que je souhaiterais et n'arrive pas à obtenir, c'est qu'en cliquant sur le bouton impression, je puisse valider la conformité du remplissage des champs avant de lançer l'impression (non vide, adresse mail correcte...)en précisant quel/quels champ n'est pas correct .J'ai bien essayé avec les modèles de validation, mais ils  agissent dés l'ouverture de la page et même quand la saisie est correcte :pfff: .
si quelqu'un peu me mettre sur la voie quant aux scripts à utiliser et leurs positionnement dans le code  car je ne maitrise pas bien le language pour ne pas dire pas du tout.
la saisie ne pourrait-elle pas être récupérée par du php et ainsi pouvoir gérer les validations et même exploiter les saisies dans une bdd  
merci de m'aiguiller vers cet objectif  :hello:  
 
 

Code :
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xfa generator="AdobeLiveCycleDesigner_V8.0" APIVersion="2.5.6290.0"?>
  3. <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2008-12-08T22:55:08Z" uuid="4fce57b4-6e7d-491f-9cf4-54353c651773">
  4. <template xmlns="http://www.xfa.org/schema/xfa-template/2.5/">
  5.    <subform layout="tb" locale="fr_FR" name="formulaire1">
  6.       <pageSet>
  7.          <pageArea id="Page1" name="Page1">
  8.             <contentArea h="284.3mm" w="197.3mm" x="0.25in" y="0.25in"/>
  9.             <medium long="297mm" short="210mm" stock="a4"/>
  10.             <exclGroup name="sexe" x="32.0001mm" y="51mm">
  11.                <field w="28mm" h="6mm" name="femme">
  12.                   <ui>
  13.                      <checkButton shape="round" size="5.2917mm">
  14.                         <border>
  15.                            <?templateDesigner StyleID apcb4?>
  16.                            <edge stroke="lowered"/>
  17.                            <fill/>
  18.                         </border>
  19.                      </checkButton>
  20.                   </ui>
  21.                   <font typeface="Myriad Pro"/>
  22.                   <margin leftInset="1mm" rightInset="1mm"/>
  23.                   <para vAlign="middle"/>
  24.                   <caption placement="right" reserve="22mm">
  25.                      <para vAlign="middle"/>
  26.                      <font typeface="Myriad Pro"/>
  27.                   </caption>
  28.                   <items>
  29.                      <integer>7</integer>
  30.                   </items>
  31.                   <bind match="none"/>
  32.                </field>
  33.                <field x="25mm" w="28mm" h="6mm" name="homme">
  34.                   <ui>
  35.                      <checkButton shape="round" size="5.2917mm">
  36.                         <border>
  37.                            <?templateDesigner StyleID apcb4?>
  38.                            <edge stroke="lowered"/>
  39.                            <fill/>
  40.                         </border>
  41.                      </checkButton>
  42.                   </ui>
  43.                   <font typeface="Myriad Pro"/>
  44.                   <margin leftInset="1mm" rightInset="1mm"/>
  45.                   <para vAlign="middle"/>
  46.                   <caption placement="right" reserve="22mm">
  47.                      <para vAlign="middle"/>
  48.                      <font typeface="Myriad Pro"/>
  49.                   </caption>
  50.                   <items>
  51.                      <integer>6</integer>
  52.                   </items>
  53.                   <bind match="none"/>
  54.                </field>
  55.                <validate nullTest="error"/>
  56.                <?templateDesigner expand 1?></exclGroup>
  57.             <exclGroup name="course" x="55mm" y="80.0002mm">
  58.                <?templateDesigner itemValuesSpecified 1?>
  59.                <field y="-0.0001mm" w="28mm" h="6mm" name="kmé1coles">
  60.                   <ui>
  61.                      <checkButton shape="round" size="5.2917mm">
  62.                         <border>
  63.                            <?templateDesigner StyleID apcb4?>
  64.                            <edge stroke="lowered"/>
  65.                            <fill/>
  66.                         </border>
  67.                      </checkButton>
  68.                   </ui>
  69.                   <font typeface="Myriad Pro"/>
  70.                   <margin leftInset="1mm" rightInset="1mm"/>
  71.                   <para vAlign="middle"/>
  72.                   <caption placement="right" reserve="22mm">
  73.                      <para vAlign="middle"/>
  74.                      <font typeface="Myriad Pro"/>
  75.                   </caption>
  76.                   <items>
  77.                      <integer>1</integer>
  78.                   </items>
  79.                   <bind match="none"/>
  80.                </field>
  81.                <field x="21.0002mm" w="28.9998mm" h="6mm" name="km1poussins">
  82.                   <ui>
  83.                      <checkButton shape="round" size="5.2917mm">
  84.                         <border>
  85.                            <?templateDesigner StyleID apcb4?>
  86.                            <edge stroke="lowered"/>
  87.                            <fill/>
  88.                         </border>
  89.                      </checkButton>
  90.                   </ui>
  91.                   <font typeface="Myriad Pro"/>
  92.                   <margin leftInset="1mm" rightInset="1mm"/>
  93.                   <para vAlign="middle"/>
  94.                   <caption placement="right" reserve="22.9998mm">
  95.                      <para vAlign="middle"/>
  96.                      <font typeface="Myriad Pro"/>
  97.                   </caption>
  98.                   <items>
  99.                      <integer>2</integer>
  100.                   </items>
  101.                   <bind match="none"/>
  102.                </field>
  103.                <field x="46.0004mm" w="28mm" h="6mm" y="-0.0001mm" name="km3">
  104.                   <ui>
  105.                      <checkButton shape="round" size="5.2917mm">
  106.                         <border>
  107.                            <?templateDesigner StyleID apcb4?>
  108.                            <edge stroke="lowered"/>
  109.                            <fill/>
  110.                         </border>
  111.                      </checkButton>
  112.                   </ui>
  113.                   <font typeface="Myriad Pro"/>
  114.                   <margin leftInset="1mm" rightInset="1mm"/>
  115.                   <para vAlign="middle"/>
  116.                   <caption placement="right" reserve="22mm">
  117.                      <para vAlign="middle"/>
  118.                      <font typeface="Myriad Pro"/>
  119.                   </caption>
  120.                   <items>
  121.                      <integer>3</integer>
  122.                   </items>
  123.                   <bind match="none"/>
  124.                </field>
  125.                <field x="70.9998mm" w="28mm" h="6mm" y="-0.0001mm" name="km5">
  126.                   <ui>
  127.                      <checkButton shape="round" size="5.2917mm">
  128.                         <border>
  129.                            <?templateDesigner StyleID apcb4?>
  130.                            <edge stroke="lowered"/>
  131.                            <fill/>
  132.                         </border>
  133.                      </checkButton>
  134.                   </ui>
  135.                   <font typeface="Myriad Pro"/>
  136.                   <margin leftInset="1mm" rightInset="1mm"/>
  137.                   <para vAlign="middle"/>
  138.                   <caption placement="right" reserve="22mm">
  139.                      <para vAlign="middle"/>
  140.                      <font typeface="Myriad Pro"/>
  141.                   </caption>
  142.                   <items>
  143.                      <integer>4</integer>
  144.                   </items>
  145.                   <bind match="none"/>
  146.                </field>
  147.                <field x="95.9998mm" w="28mm" h="6mm" y="-0.0001mm" name="km10">
  148.                   <ui>
  149.                      <checkButton shape="round" size="5.2917mm">
  150.                         <border>
  151.                            <?templateDesigner StyleID apcb4?>
  152.                            <edge stroke="lowered"/>
  153.                            <fill/>
  154.                         </border>
  155.                      </checkButton>
  156.                   </ui>
  157.                   <font typeface="Myriad Pro"/>
  158.                   <margin leftInset="1mm" rightInset="1mm"/>
  159.                   <para vAlign="middle"/>
  160.                   <caption placement="right" reserve="22mm">
  161.                      <para vAlign="middle"/>
  162.                      <font typeface="Myriad Pro"/>
  163.                   </caption>
  164.                   <items>
  165.                      <integer>5</integer>
  166.                   </items>
  167.                   <bind match="none"/>
  168.                </field>
  169.                <validate nullTest="error"/>
  170.                <?templateDesigner expand 1?></exclGroup>
  171.             <field name="nom" y="42mm" x="15.0001mm" w="59.9997mm" h="8mm">
  172.                <ui>
  173.                   <textEdit>
  174.                      <border presence="hidden">
  175.                         <?templateDesigner StyleID aped0?></border>
  176.                      <margin/>
  177.                   </textEdit>
  178.                </ui>
  179.                <font typeface="Myriad Pro" posture="italic" size="14pt"/>
  180.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  181.                <para vAlign="middle"/>
  182.                <caption reserve="2.1444mm">
  183.                   <font typeface="Myriad Pro" posture="italic" size="14pt"/>
  184.                   <para vAlign="middle"/>
  185.                </caption>
  186.                <bind match="none"/>
  187.                <validate nullTest="error"/>
  188.                <border>
  189.                   <edge presence="hidden">
  190.                   </edge>
  191.                   <edge presence="hidden">
  192.                   </edge>
  193.                   <edge thickness="0.2mm" presence="hidden">
  194.                      <color value="255,0,0"/>
  195.                   </edge>
  196.                   <edge presence="hidden"/>
  197.                   <corner>
  198.                   </corner>
  199.                   <corner>
  200.                   </corner>
  201.                   <corner thickness="0.2mm" presence="hidden">
  202.                      <color value="255,0,0"/>
  203.                   </corner>
  204.                   <corner/>
  205.                </border>
  206.             </field>
  207.             <field name="prenom" y="42.0001mm" x="90mm" w="59.9997mm" h="8mm">
  208.                <ui>
  209.                   <textEdit>
  210.                      <border presence="hidden">
  211.                         <?templateDesigner StyleID aped0?></border>
  212.                      <margin/>
  213.                   </textEdit>
  214.                </ui>
  215.                <font typeface="Myriad Pro" posture="italic" size="14pt"/>
  216.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  217.                <para vAlign="middle"/>
  218.                <caption reserve="2.1444mm">
  219.                   <font typeface="Myriad Pro" posture="italic" size="14pt"/>
  220.                   <para vAlign="middle"/>
  221.                </caption>
  222.                <bind match="none"/>
  223.                <validate nullTest="error"/>
  224.                <border>
  225.                   <edge presence="hidden">
  226.                   </edge>
  227.                   <edge presence="hidden">
  228.                   </edge>
  229.                   <edge thickness="0.2mm" presence="hidden">
  230.                      <color value="255,0,0"/>
  231.                   </edge>
  232.                   <edge presence="hidden"/>
  233.                   <corner>
  234.                   </corner>
  235.                   <corner>
  236.                   </corner>
  237.                   <corner thickness="0.2mm" presence="hidden">
  238.                      <color value="255,0,0"/>
  239.                   </corner>
  240.                   <corner/>
  241.                </border>
  242.             </field>
  243.             <field name="nationalite" y="59mm" x="26.0001mm" w="48.9998mm" h="8mm">
  244.                <ui>
  245.                   <choiceList textEntry="1">
  246.                      <border presence="hidden">
  247.                         <?templateDesigner StyleID aped0?></border>
  248.                      <margin/>
  249.                   </choiceList>
  250.                </ui>
  251.                <font typeface="Myriad Pro" posture="italic" size="12pt"/>
  252.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  253.                <para vAlign="middle" hAlign="center"/>
  254.                <caption reserve="0in">
  255.                   <font typeface="Myriad Pro" posture="italic" size="12pt"/>
  256.                   <para vAlign="middle" hAlign="center"/>
  257.                </caption>
  258.                <?templateDesigner expand 1?>
  259.                <bind match="none"/>
  260.                <value>
  261.                   <text>Française</text>
  262.                </value>
  263.                <items save="1">
  264.                   <text>Allemande</text>
  265.                   <text>Anglaise</text>
  266.                   <text>Belge</text>
  267.                   <text>Française</text>
  268.                </items>
  269.                <validate nullTest="error"/>
  270.                <border>
  271.                   <edge presence="hidden">
  272.                   </edge>
  273.                   <edge presence="hidden">
  274.                   </edge>
  275.                   <edge thickness="0.2mm" presence="hidden">
  276.                      <color value="255,0,0"/>
  277.                   </edge>
  278.                   <edge presence="hidden"/>
  279.                   <corner>
  280.                   </corner>
  281.                   <corner>
  282.                   </corner>
  283.                   <corner thickness="0.2mm" presence="hidden">
  284.                      <color value="255,0,0"/>
  285.                   </corner>
  286.                   <corner/>
  287.                </border>
  288.             </field>
  289.             <field name="téléphone" y="68.0001mm" x="26mm" w="48.9998mm" h="8mm">
  290.                <ui>
  291.                   <numericEdit hScrollPolicy="off">
  292.                      <border presence="hidden">
  293.                         <?templateDesigner StyleID aped0?></border>
  294.                      <margin/>
  295.                   </numericEdit>
  296.                </ui>
  297.                <font typeface="Myriad Pro" posture="italic" size="12pt"/>
  298.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  299.                <para vAlign="middle"/>
  300.                <caption reserve="0in">
  301.                   <font typeface="Myriad Pro" posture="italic" size="12pt"/>
  302.                   <para vAlign="middle"/>
  303.                </caption>
  304.                <?templateDesigner expand 1?>
  305.                <bind match="none"/>
  306.                <value>
  307.                   <integer/>
  308.                </value>
  309.                <validate formatTest="error"/>
  310.                <border>
  311.                   <edge presence="hidden"/>
  312.                   <corner>
  313.                   </corner>
  314.                   <corner>
  315.                   </corner>
  316.                   <corner presence="hidden"/>
  317.                   <corner/>
  318.                </border>
  319.             </field>
  320.             <field name="jour" y="51mm" x="108.0002mm" w="15mm" h="8mm">
  321.                <ui>
  322.                   <choiceList>
  323.                      <border presence="hidden">
  324.                         <?templateDesigner StyleID aped0?></border>
  325.                      <margin/>
  326.                   </choiceList>
  327.                </ui>
  328.                <font typeface="Myriad Pro" size="12pt" posture="italic"/>
  329.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  330.                <para vAlign="middle"/>
  331.                <caption reserve="0in">
  332.                   <font typeface="Myriad Pro" size="12pt" posture="italic"/>
  333.                   <para vAlign="middle"/>
  334.                </caption>
  335.                <?templateDesigner expand 1?>
  336.                <bind match="none"/>
  337.                <items save="1">
  338.                   <text>1</text>
  339.                   <text>2</text>
  340.                   <text>3</text>
  341.                   <text>4</text>
  342.                   <text>5</text>
  343.                   <text>6</text>
  344.                   <text>7</text>
  345.                   <text>8</text>
  346.                   <text>9</text>
  347.                   <text>10</text>
  348.                   <text>11</text>
  349.                   <text>12</text>
  350.                   <text>13</text>
  351.                   <text>14</text>
  352.                   <text>15</text>
  353.                   <text>16</text>
  354.                   <text>17</text>
  355.                   <text>18</text>
  356.                   <text>19</text>
  357.                   <text>20</text>
  358.                   <text>21</text>
  359.                   <text>22</text>
  360.                   <text>23</text>
  361.                   <text>24</text>
  362.                   <text>25</text>
  363.                   <text>26</text>
  364.                   <text>27</text>
  365.                   <text>28</text>
  366.                   <text>29</text>
  367.                   <text>30</text>
  368.                   <text>31</text>
  369.                </items>
  370.                <border>
  371.                   <edge presence="hidden"/>
  372.                   <corner>
  373.                   </corner>
  374.                   <corner>
  375.                   </corner>
  376.                   <corner presence="hidden"/>
  377.                   <corner/>
  378.                </border>
  379.             </field>
  380.             <field name="club" y="60mm" x="108.0001mm" w="57.0001mm" h="8mm">
  381.                <?templateDesigner expand 1?>
  382.                <ui>
  383.                   <textEdit>
  384.                      <border presence="hidden">
  385.                         <?templateDesigner StyleID aped0?></border>
  386.                      <margin/>
  387.                   </textEdit>
  388.                </ui>
  389.                <font typeface="Myriad Pro" posture="italic" size="12pt"/>
  390.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  391.                <para vAlign="middle"/>
  392.                <caption reserve="0in">
  393.                   <font typeface="Myriad Pro" posture="italic" size="12pt"/>
  394.                   <para vAlign="middle"/>
  395.                </caption>
  396.                <bind match="none"/>
  397.                <border>
  398.                   <edge presence="hidden"/>
  399.                   <corner>
  400.                   </corner>
  401.                   <corner>
  402.                   </corner>
  403.                   <corner presence="hidden"/>
  404.                   <corner/>
  405.                </border>
  406.             </field>
  407.             <field name="adresse-mail" y="69mm" x="130mm" w="71mm" h="8mm">
  408.                <?templateDesigner expand 1?>
  409.                <ui>
  410.                   <textEdit>
  411.                      <border presence="hidden">
  412.                         <?templateDesigner StyleID aped0?></border>
  413.                      <margin/>
  414.                   </textEdit>
  415.                </ui>
  416.                <font typeface="Myriad Pro" posture="italic" size="12pt"/>
  417.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  418.                <para vAlign="middle"/>
  419.                <caption reserve="0in">
  420.                   <font typeface="Myriad Pro" posture="italic" size="12pt"/>
  421.                   <para vAlign="middle"/>
  422.                </caption>
  423.                <bind match="none">
  424.                   <picture>A'@'A'.'AAA</picture>
  425.                </bind>
  426.                <validate nullTest="warning" formatTest="error">
  427.                   <picture>A'@'A'.'AAA</picture>
  428.                   <message>
  429.                      <text name="formatTest">vous avez entré une adresse mail non valide</text>
  430.                      <text name="nullTest"/>
  431.                   </message>
  432.                </validate>
  433.                <border>
  434.                   <edge presence="hidden"/>
  435.                   <corner>
  436.                   </corner>
  437.                   <corner>
  438.                   </corner>
  439.                   <corner presence="hidden"/>
  440.                   <corner/>
  441.                </border>
  442.             </field>
  443.             <field name="licence" y="33mm" x="31mm" w="38.9999mm" h="8mm">
  444.                <ui>
  445.                   <numericEdit hScrollPolicy="off">
  446.                      <border presence="hidden">
  447.                         <?templateDesigner StyleID aped0?></border>
  448.                      <margin/>
  449.                   </numericEdit>
  450.                </ui>
  451.                <font typeface="Myriad Pro" size="12pt" posture="italic"/>
  452.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  453.                <para vAlign="middle"/>
  454.                <caption reserve="0in">
  455.                   <font typeface="Myriad Pro" size="12pt" posture="italic"/>
  456.                   <para vAlign="middle"/>
  457.                </caption>
  458.                <bind match="none"/>
  459.                <validate nullTest="error" formatTest="error">
  460.                   <message>
  461.                      <text name="nullTest">vide</text>
  462.                   </message>
  463.                   <picture>z,zz9.99 $$</picture>
  464.                </validate>
  465.                <border>
  466.                   <edge presence="hidden">
  467.                   </edge>
  468.                   <edge presence="hidden">
  469.                   </edge>
  470.                   <edge thickness="0.2mm" presence="hidden">
  471.                      <color value="255,0,0"/>
  472.                   </edge>
  473.                   <edge presence="hidden"/>
  474.                   <corner presence="hidden" thickness="0.176mm">
  475.                   </corner>
  476.                   <corner presence="hidden" thickness="0.176mm">
  477.                   </corner>
  478.                   <corner thickness="0.2mm" presence="hidden">
  479.                      <color value="255,0,0"/>
  480.                   </corner>
  481.                   <corner presence="hidden" thickness="0.176mm"/>
  482.                </border>
  483.             </field>
  484.             <field name="Année" y="51mm" x="150mm" w="20mm" h="8mm">
  485.                <?templateDesigner expand 1?>
  486.                <ui>
  487.                   <choiceList>
  488.                      <border presence="hidden">
  489.                         <?templateDesigner StyleID aped0?></border>
  490.                      <margin/>
  491.                   </choiceList>
  492.                </ui>
  493.                <font typeface="Myriad Pro" size="12pt" posture="italic"/>
  494.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  495.                <para vAlign="middle"/>
  496.                <caption reserve="0in">
  497.                   <font typeface="Myriad Pro" size="12pt" posture="italic"/>
  498.                   <para vAlign="middle"/>
  499.                </caption>
  500.                <bind match="none"/>
  501.                <items save="1">
  502.                   <text>1938</text>
  503.                   <text>1939</text>
  504.                   <text>1940</text>
  505.                   <text>1941</text>
  506.                   <text>1942</text>
  507.                   <text>1943</text>
  508.                   <text>1944</text>
  509.                   <text>1945</text>
  510.                   <text>1946</text>
  511.                   <text>1947</text>
  512.                   <text>1948</text>
  513.                   <text>1949</text>
  514.                   <text>1950</text>
  515.                   <text>1951</text>
  516.                   <text>1952</text>
  517.                   <text>1953</text>
  518.                   <text>1954</text>
  519.                   <text>1955</text>
  520.                   <text>1956</text>
  521.                   <text>1957</text>
  522.                   <text>1958</text>
  523.                   <text>1959</text>
  524.                   <text>1960</text>
  525.                   <text>1961</text>
  526.                   <text>1962</text>
  527.                   <text>1963</text>
  528.                   <text>1964</text>
  529.                   <text>1965</text>
  530.                   <text>1966</text>
  531.                   <text>1967</text>
  532.                   <text>1968</text>
  533.                   <text>1969</text>
  534.                   <text>1970</text>
  535.                   <text>1971</text>
  536.                   <text>1972</text>
  537.                   <text>1973</text>
  538.                   <text>1974</text>
  539.                   <text>1975</text>
  540.                   <text>1976</text>
  541.                   <text>1977</text>
  542.                   <text>1978</text>
  543.                   <text>1979</text>
  544.                   <text>1980</text>
  545.                   <text>1981</text>
  546.                   <text>1982</text>
  547.                   <text>1983</text>
  548.                   <text>1984</text>
  549.                   <text>1985</text>
  550.                   <text>1986</text>
  551.                   <text>1987</text>
  552.                   <text>1988</text>
  553.                   <text>1989</text>
  554.                   <text>1990</text>
  555.                   <text>1991</text>
  556.                   <text>1992</text>
  557.                   <text>1993</text>
  558.                   <text>1994</text>
  559.                   <text>1995</text>
  560.                   <text>1996</text>
  561.                   <text>1997</text>
  562.                   <text>1998</text>
  563.                   <text>1999</text>
  564.                   <text>2000</text>
  565.                   <text>2001</text>
  566.                   <text>2002</text>
  567.                   <text>2003</text>
  568.                   <text>2004</text>
  569.                   <text>2005</text>
  570.                   <text>2006</text>
  571.                   <text>2007</text>
  572.                   <text>2008</text>
  573.                   <text>2009</text>
  574.                   <text>2010</text>
  575.                </items>
  576.                <validate nullTest="error"/>
  577.                <border>
  578.                   <edge presence="hidden">
  579.                   </edge>
  580.                   <edge presence="hidden">
  581.                   </edge>
  582.                   <edge thickness="0.2mm" presence="hidden">
  583.                      <color value="255,0,0"/>
  584.                   </edge>
  585.                   <edge presence="hidden"/>
  586.                   <corner>
  587.                   </corner>
  588.                   <corner>
  589.                   </corner>
  590.                   <corner thickness="0.2mm" presence="hidden">
  591.                      <color value="255,0,0"/>
  592.                   </corner>
  593.                   <corner/>
  594.                </border>
  595.             </field>
  596.             <field name="Mois" y="51mm" x="122mm" w="28mm" h="8mm">
  597.                <?templateDesigner expand 1?>
  598.                <ui>
  599.                   <choiceList>
  600.                      <border presence="hidden">
  601.                         <?templateDesigner StyleID aped0?></border>
  602.                      <margin/>
  603.                   </choiceList>
  604.                </ui>
  605.                <font typeface="Myriad Pro" size="12pt" posture="italic"/>
  606.                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
  607.                <para vAlign="middle"/>
  608.                <caption reserve="0in">
  609.                   <font typeface="Myriad Pro" size="12pt" posture="italic"/>
  610.                   <para vAlign="middle"/>
  611.                </caption>
  612.                <bind match="none"/>
  613.                <items save="1">
  614.                   <text>Janvier</text>
  615.                   <text>Février</text>
  616.                   <text>Mars</text>
  617.                   <text>Avril</text>
  618.                   <text>Mai</text>
  619.                   <text>Juin</text>
  620.                   <text>Juillet</text>
  621.                   <text>Août</text>
  622.                   <text>septembre</text>
  623.                   <text>Octobre</text>
  624.                   <text>Novembre</text>
  625.                   <text>Décembre</text>
  626.                </items>
  627.                <border>
  628.                   <edge presence="hidden"/>
  629.                   <corner>
  630.                   </corner>
  631.                   <corner>
  632.                   </corner>
  633.                   <corner presence="hidden"/>
  634.                   <corner/>
  635.                </border>
  636.             </field>
  637.             <field name="Imprimer1" y="107mm" x="75mm" w="55.0002mm" h="9.9998mm" relevant="-print">
  638.                <?templateDesigner isPrintObject true?>
  639.                <ui>
  640.                   <button/>
  641.                </ui>
  642.                <font typeface="Myriad Pro"/>
  643.                <caption>
  644.                   <value>
  645.                      <text>Imprimer le formulaire</text>
  646.                   </value>
  647.                   <para hAlign="center" vAlign="middle" spaceAbove="0pt" spaceBelow="0pt" textIndent="0pt" marginLeft="0pt" marginRight="0pt"/>
  648.                   <font size="16pt" typeface="Myriad Pro" baselineShift="0pt">
  649.                      <fill>
  650.                         <color value="0,128,0"/>
  651.                      </fill>
  652.                   </font>
  653.                </caption>
  654.                <border hand="right">
  655.                   <fill>
  656.                      <color value="255,204,0"/>
  657.                   </fill>
  658.                   <edge thickness="0.5mm">
  659.                      <color value="128,0,0"/>
  660.                   </edge>
  661.                   <edge thickness="0.5mm">
  662.                   </edge>
  663.                   <edge thickness="0.5mm"/>
  664.                   <edge thickness="0.5mm">
  665.                      <color value="128,0,0"/>
  666.                   </edge>
  667.                   <corner thickness="0.5mm" join="round" radius="4.9999mm">
  668.                      <color value="128,0,0"/>
  669.                   </corner>
  670.                   <corner thickness="0.5mm" join="round" radius="4.9999mm">
  671.                   </corner>
  672.                   <corner thickness="0.5mm" join="round" radius="4.9999mm"/>
  673.                   <corner thickness="0.5mm" join="round" radius="4.9999mm">
  674.                      <color value="128,0,0"/>
  675.                   </corner>
  676.                </border>
  677.                <bind match="none"/>
  678.                <event activity="click">
  679.                   <script contentType="application/x-javascript">xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 1, 0, 0, 0);</script>
  680.                </event>
  681.             </field>
  682.             <draw name="Image_statique1" y="5mm" x="5mm" w="200mm" h="100mm">
  683.                <value>
  684.                   <image href="C:\Documents and Settings\Fab et Tophe\Mes documents\Christophe\course\bulletin\bulletin 2009\question forum.jpg" contentType="image/jpg"/>
  685.                </value>
  686.                <ui>
  687.                   <imageEdit/>
  688.                </ui>
  689.             </draw>
  690.             <?templateDesigner expand 1?></pageArea>
  691.          <?templateDesigner expand 1?></pageSet>
  692.       <proto/>
  693.       <desc>
  694.          <text name="version">8.0.1291.1.339988.325726</text>
  695.       </desc>
  696.       <?templateDesigner expand 1?>
  697.       <?renderCache.subset "Myriad Pro" 0 0 ISO-8859-1 4 48 12 0001002A004200460047004A004D004E0050005100530056 Iaefilmopru?>
  698.       <?renderCache.subset "Myriad Pro" 0 1 ISO-8859-1 4 32 9 002700420046004A004F0053005400CEFaeinrsç?></subform>
  699.    <?templateDesigner DefaultLanguage FormCalc?>
  700.    <?templateDesigner DefaultRunAt client?>
  701.    <?templateDesigner Grid show:1, snap:1, units:1, color:ff8080, origin:(0,0), interval:(125000,125000)?>
  702.    <?templateDesigner Rulers horizontal:1, vertical:1, guidelines:1, crosshairs:0?>
  703.    <?templateDesigner Zoom 89?></template>
  704. <config xmlns="http://www.xfa.org/schema/xci/1.0/">
  705.    <agent name="designer">
  706.       <destination>pdf</destination>
  707.       <pdf>
  708.          <!--  [0..n]  -->
  709.          <fontInfo/>
  710.       </pdf>
  711.    </agent>
  712.    <trace>
  713.       <area level="1" name="font"/>
  714.    </trace>
  715.    <present>
  716.       <!--  [0..n]  -->
  717.       <pdf>
  718.          <!--  [0..n]  -->
  719.          <fontInfo>
  720.             <embed>1</embed>
  721.             <subsetBelow>100</subsetBelow>
  722.          </fontInfo>
  723.          <version>1.7</version>
  724.          <creator>Adobe LiveCycle Designer 8.0</creator>
  725.          <producer>Adobe LiveCycle Designer 8.0</producer>
  726.          <scriptModel>XFA</scriptModel>
  727.          <interactive>1</interactive>
  728.          <tagged>1</tagged>
  729.          <compression>
  730.             <level>6</level>
  731.             <compressLogicalStructure>1</compressLogicalStructure>
  732.             <type/>
  733.          </compression>
  734.          <linearized>1</linearized>
  735.          <batchOutput/>
  736.          <encryption>
  737.             <encrypt/>
  738.             <permissions>
  739.                <accessibleContent>1</accessibleContent>
  740.                <contentCopy>1</contentCopy>
  741.                <documentAssembly>1</documentAssembly>
  742.                <formFieldFilling>1</formFieldFilling>
  743.                <modifyAnnots>1</modifyAnnots>
  744.                <print>1</print>
  745.                <printHighQuality>1</printHighQuality>
  746.                <change>1</change>
  747.                <plaintextMetadata>1</plaintextMetadata>
  748.             </permissions>
  749.          </encryption>
  750.          <openAction>
  751.             <destination/>
  752.          </openAction>
  753.          <taggedMode/>
  754.          <viewerPreferences>
  755.             <addViewerPreferences/>
  756.             <duplexOption/>
  757.             <numberOfCopies/>
  758.             <pageRange/>
  759.          </viewerPreferences>
  760.          <silentPrint>
  761.             <addSilentPrint/>
  762.             <printerName/>
  763.          </silentPrint>
  764.          <renderPolicy>client</renderPolicy>
  765.       </pdf>
  766.       <common>
  767.          <template>
  768.             <relevant/>
  769.             <base>C:\Documents and Settings\Fab et Tophe\Mes documents\Christophe\course\bulletin\bulletin 2009\bulletin travaux pdf\</base>
  770.             <uri/>
  771.          </template>
  772.          <data>
  773.             <uri/>
  774.             <adjustData>1</adjustData>
  775.             <xsl>
  776.                <uri/>
  777.             </xsl>
  778.             <outputXSL>
  779.                <uri/>
  780.             </outputXSL>
  781.          </data>
  782.          <messaging/>
  783.          <log>
  784.             <to>memory</to>
  785.             <uri>C:\DOCUME~1\FABETT~1\LOCALS~1\Temp\_18o163es4e83f5t1n.log</uri>
  786.             <mode>overwrite</mode>
  787.             <threshold/>
  788.          </log>
  789.          <locale/>
  790.       </common>
  791.       <xdp>
  792.          <packets>*</packets>
  793.       </xdp>
  794.       <cache>
  795.          <renderCache/>
  796.       </cache>
  797.       <incrementalMerge/>
  798.       <script>
  799.          <runScripts/>
  800.          <exclude/>
  801.          <currentPage/>
  802.       </script>
  803.       <pagination/>
  804.       <copies/>
  805.       <layout/>
  806.       <destination>pdf</destination>
  807.       <output>
  808.          <to>uri</to>
  809.          <uri>C:\Documents and Settings\Fab et Tophe\Mes documents\Christophe\course\bulletin\bulletin 2009\bulletin travaux pdf\forum.pdf</uri>
  810.       </output>
  811.    </present>
  812.    <acrobat>
  813.       <acrobat7>
  814.          <dynamicRender>required</dynamicRender>
  815.       </acrobat7>
  816.       <common>
  817.          <locale/>
  818.          <data>
  819.             <uri/>
  820.             <adjustData>1</adjustData>
  821.             <xsl>
  822.                <uri/>
  823.             </xsl>
  824.             <outputXSL>
  825.                <uri/>
  826.             </outputXSL>
  827.          </data>
  828.          <template>
  829.             <relevant/>
  830.             <base>C:\Documents and Settings\Fab et Tophe\Mes documents\Christophe\course\bulletin\bulletin 2009\bulletin travaux pdf\</base>
  831.             <uri/>
  832.          </template>
  833.       </common>
  834.    </acrobat>
  835.    <psMap/>
  836. </config>
  837. <localeSet xmlns="http://www.xfa.org/schema/xfa-locale-set/2.1/">
  838.    <locale desc="Français (France)" name="fr_FR">
  839.       <calendarSymbols name="gregorian">
  840.          <monthNames>
  841.             <month>janvier</month>
  842.             <month>février</month>
  843.             <month>mars</month>
  844.             <month>avril</month>
  845.             <month>mai</month>
  846.             <month>juin</month>
  847.             <month>juillet</month>
  848.             <month>août</month>
  849.             <month>septembre</month>
  850.             <month>octobre</month>
  851.             <month>novembre</month>
  852.             <month>décembre</month>
  853.          </monthNames>
  854.          <monthNames abbr="1">
  855.             <month>janv.</month>
  856.             <month>févr.</month>
  857.             <month>mars</month>
  858.             <month>avr.</month>
  859.             <month>mai</month>
  860.             <month>juin</month>
  861.             <month>juil.</month>
  862.             <month>août</month>
  863.             <month>sept.</month>
  864.             <month>oct.</month>
  865.             <month>nov.</month>
  866.             <month>déc.</month>
  867.          </monthNames>
  868.          <dayNames>
  869.             <day>dimanche</day>
  870.             <day>lundi</day>
  871.             <day>mardi</day>
  872.             <day>mercredi</day>
  873.             <day>jeudi</day>
  874.             <day>vendredi</day>
  875.             <day>samedi</day>
  876.          </dayNames>
  877.          <dayNames abbr="1">
  878.             <day>dim.</day>
  879.             <day>lun.</day>
  880.             <day>mar.</day>
  881.             <day>mer.</day>
  882.             <day>jeu.</day>
  883.             <day>ven.</day>
  884.             <day>sam.</day>
  885.          </dayNames>
  886.          <meridiemNames>
  887.             <meridiem>AM</meridiem>
  888.             <meridiem>PM</meridiem>
  889.          </meridiemNames>
  890.          <eraNames>
  891.             <era>av. J.-C.</era>
  892.             <era>ap. J.-C.</era>
  893.          </eraNames>
  894.       </calendarSymbols>
  895.       <datePatterns>
  896.          <datePattern name="full">EEEE D MMMM YYYY</datePattern>
  897.          <datePattern name="long">D MMMM YYYY</datePattern>
  898.          <datePattern name="med">D MMM YY</datePattern>
  899.          <datePattern name="short">DD/MM/YY</datePattern>
  900.       </datePatterns>
  901.       <timePatterns>
  902.          <timePattern name="full">HH' h 'MM Z</timePattern>
  903.          <timePattern name="long">HH:MM:SS Z</timePattern>
  904.          <timePattern name="med">HH:MM:SS</timePattern>
  905.          <timePattern name="short">HH:MM</timePattern>
  906.       </timePatterns>
  907.       <dateTimeSymbols>GaMjkHmsSEDFwWxhKzZ</dateTimeSymbols>
  908.       <numberPatterns>
  909.          <numberPattern name="numeric">z,zz9.zzz</numberPattern>
  910.          <numberPattern name="currency">z,zz9.99 $</numberPattern>
  911.          <numberPattern name="percent">z,zz9%</numberPattern>
  912.       </numberPatterns>
  913.       <numberSymbols>
  914.          <numberSymbol name="decimal">,</numberSymbol>
  915.          <numberSymbol name="grouping"> </numberSymbol>
  916.          <numberSymbol name="percent">%</numberSymbol>
  917.          <numberSymbol name="minus">-</numberSymbol>
  918.          <numberSymbol name="zero">0</numberSymbol>
  919.       </numberSymbols>
  920.       <currencySymbols>
  921.          <currencySymbol name="symbol">€</currencySymbol>
  922.          <currencySymbol name="isoname">EUR</currencySymbol>
  923.          <currencySymbol name="decimal">,</currencySymbol>
  924.       </currencySymbols>
  925.    </locale>
  926. </localeSet>
  927. <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
  928.    <xfa:data xfa:dataNode="dataGroup"/>
  929. </xfa:datasets>
  930. <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.0-c316 44.251264, Sun Sep 17 2006 17:15:19">
  931.    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  932.       <rdf:Description xmlns:xap="http://ns.adobe.com/xap/1.0/" xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="" xap:ModifyDate="2008-12-05T13:54:02+01:00" xap:CreateDate="2008-12-05T13:54:02+01:00" xap:MetadataDate="2008-12-05T13:54:02+01:00" xap:CreatorTool="Adobe LiveCycle Designer 8.0" xapMM:DocumentID="uuid:84d96555-1cdc-4ac4-8a96-9d6b029f3947" xapMM:InstanceID="uuid:b8eaf50d-8232-44ef-929d-020fcec66a86" dc:format="application/pdf" pdf:Producer="Adobe LiveCycle Designer 8.0"/>
  933.    </rdf:RDF>
  934. </x:xmpmeta>
  935. <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
  936.    <annots/>
  937. </xfdf>
  938. <PDFSecurity xmlns="http://ns.adobe.com/xtd/" print="1" printHighQuality="1" change="1" modifyAnnots="1" formFieldFilling="1" documentAssembly="1" contentCopy="1" accessibleContent="1" metadata="1"/></xdp:xdp>

mood
Publicité
Posté le 09-12-2008 à 00:53:02  profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Divers

  validation sur pdf

 

Sujets relatifs
Validation d'un formulaire sans changer de pageafficher div en javascript après validation formulaire non validée
Pb validation page HTMLredirection apres validation du formulaire + email saisie valide
Validation formulaire : affiche image devant réponses justes ou fausseValidation xHTML
Validation d'un formulaire avec la touche EntrerValidation W3C : JS et Antislashes
Validation W3C qui echoueScript "Ecrire login + mot de passe et validation sur une page"
Plus de sujets relatifs à : validation sur pdf


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR