IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

HTML Discussion :

Problème de publication d'un formulaire


Sujet :

HTML

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre Expert Avatar de bernardmichel
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Janvier 2004
    Messages
    1 181
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Vaucluse (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Janvier 2004
    Messages : 1 181
    Par défaut Problème de publication d'un formulaire
    Bonjour,

    J'ai réalisé un formulaire - avec Frontpage - qui doit réaliser des calculs lorsque l'internaute choisi l'une ou l'autre des options proposées.

    En testant cela avec Frontpage (Option "Aperçu") mon formulaire calcule correctement. Dès que je le publie sur le Web, plus aucun calcul ne fonctionne.

    Pour info, j'ai tenté deux essais:
    1. J'ai sauvegardé - depuis Frontpage - ma page dans un format "htm" (http://www.gites-du-mazet.eu/FormCalc.htm)
    2. J'ai récupéré le code dans NotePad++, je l'ai sauvegardé sous le format "html" puis je l'ai envoyé via FTP sur mon site. (http://www.gites-du-mazet.eu/BookForm.html)

    Aucune des deux solution ne fonctionne... j'avoue que je suis un peu désemparé, surtout que je débute pour ce genre d'action...


    Ci-dessous, le code de ma page:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    <html>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
      "http://www.w3.org/TR/html4/strict.dtd">
     
     
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Formulaire d'inscription</title>
    </head>
     
    <body>
     
    <script>
            function PrixTotal() {
            var F_Global=parseFloat(document.getElementById("TotGlobal").value);
            var F_Partiel=parseFloat(document.getElementById('TotPartiel').value);
            var Danse=parseFloat(document.getElementById("TotDanse").value);
            var Concert=parseFloat(document.getElementById("TotConcert").value);
            var Contes=parseFloat(document.getElementById("TotContes").value);
            var Truffes=parseFloat(document.getElementById("TotTruffes").value);
            var Olives=parseFloat(document.getElementById("TotOlives").value);
            var R27=parseFloat(document.getElementById("TotRepas27").value);
            var R28=parseFloat(document.getElementById("TotRepas28").value);
            var R29=parseFloat(document.getElementById("TotRepas29").value);
            var R30=parseFloat(document.getElementById("TotRepas30").value);
            var R31=parseFloat(document.getElementById("TotRepas31").value);
            var R01=parseFloat(document.getElementById("TotRepas01").value);
            document.getElementById('TotFinal').value=F_Global+F_Partiel+Danse+Concert+Contes+Truffes+Olives+R27+R28+R29+R30+R31+R01+".00 €";
            }
        function CalcGlobal() {
          var Prix=410;
          var Nb=parseFloat(document.getElementById('D1').value);
          var Result=Prix*Nb;
          document.getElementById('TotGlobal').value = Result+".00 €";
          PrixTotal()
        }     
        function CalcPartiel() {
          var Prix=235;
          var Nb=parseFloat(document.getElementById('D2').value);
          var Result=Prix*Nb;
          document.getElementById('TotPartiel').value = Result+".00 €";
          PrixTotal()
        }
        function CalcDanse() {
          var Prix=30;
          var Nb=parseFloat(document.getElementById('D3').value);
          var Result=Prix*Nb;
          document.getElementById('TotDanse').value = Result+".00 €";
          PrixTotal()
        }     
        function CalcConcert() {
          var Prix=10;
          var Nb=parseFloat(document.getElementById('D4').value);
          var Result=Prix*Nb;
          document.getElementById('TotConcert').value = Result+".00 €";
          PrixTotal()
        }
            function CalcContes() {
          var Prix=8;
          var Nb=parseFloat(document.getElementById('D5').value);
          var Result=Prix*Nb;
          document.getElementById('TotContes').value = Result+".00 €";
          PrixTotal()
        }     
        function CalcTruffes() {
          var Prix=15;
          var Nb=parseFloat(document.getElementById('D6').value);
          var Result=Prix*Nb;
          document.getElementById('TotTruffes').value = Result+".00 €";
          PrixTotal()
        }
            function CalcOlives() {
          var Prix=7;
          var Nb=parseFloat(document.getElementById('D7').value);
          var Result=Prix*Nb;
          document.getElementById('TotOlives').value = Result+".00 €";
          PrixTotal()
        }     
        function CalcRepas27() {
          var Prix=18;
          var Nb=parseFloat(document.getElementById('D8').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas27').value = Result+".00 €";
          PrixTotal()
        }
            function CalcRepas28() {
          var Prix=20;
          var Nb=parseFloat(document.getElementById('D9').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas28').value = Result+".00 €";
          PrixTotal()
        }
            function CalcRepas29() {
          var Prix=18;
          var Nb=parseFloat(document.getElementById('D10').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas29').value = Result+".00 €";
          PrixTotal()
        }
       function CalcRepas30() {
          var Prix=18;
          var Nb=parseFloat(document.getElementById('D11').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas30').value = Result+".00 €";
          PrixTotal()
        }
            function CalcRepas31() {
          var Prix=52;
          var Nb=parseFloat(document.getElementById('D12').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas31').value = Result+".00 €";
          PrixTotal()
        }
            function CalcRepas01() {
          var Prix=18;
          var Nb=parseFloat(document.getElementById('D13').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas01').value = Result+".00 €";
          PrixTotal()
        }    
    </script>
     
     
     
     
     
    <p><font face="Dauphin" size="5">Formulaire de réservation pour la &quot;Semaine de 
    culture provençale&quot; à Crestet</font></p>
     
     
     
    <FORM METHOD=POST ACTION="mailto:bernard.schallen@gmail.com">
    	<p style="margin-top: 0; margin-bottom: 0" align="left"><font size="5" color="#0000FF">
    	Vos coordonnées et choix d'hébergement</font></p>
    	<div align="left">
    	<table border="1" width="53%" cellspacing="1" bgcolor="#FFFFCC">
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Nom / Prénom</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T1" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Adresse</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T2" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">CP/Ville</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T3" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Téléphone et/ou portable</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T4" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Adresse E-mail</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T5" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Nb total de personnes</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<select size="1" name="D14">
    			<option>1</option>
    			<option>2</option>
    			<option>3</option>
    			<option>4</option>
    			<option>5</option>
    			<option>6</option>
    			<option>7</option>
    			<option>8</option>
    			<option>9</option>
    			<option>10</option>
    			<option>11</option>
    			<option>12</option>
    			</select></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">... dont nb d'enfants</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<select size="1" name="D15">
    			<option>0</option>
    			<option>1</option>
    			<option>2</option>
    			<option>3</option>
    			<option>4</option>
    			<option>5</option>
    			<option>6</option>
    			<option>7</option>
    			<option>8</option>
    			<option>9</option>
    			<option>10</option>
    			<option>11</option>
    			<option>12</option>
    			</select></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Âges respectifs des 
    			enfants</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T6" size="48"></td>
    		</tr>
    		<tr>
    			<td width="55%" align="left" colspan="2">
    			Veuillez sélectionner ci-dessous l'hébergement défini par téléphone</td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			Hébergement choisi</td>
    			<td width="37%" align="left">
    			<select size="1" name="D16">
    			<option>Gîte Thym</option>
    			<option>Gîte Romarin</option>
    			<option>Gîte Lavande</option>
    			<option>Chambre Serpolet</option>
    			<option>Chambre Bleue</option>
    			<option>Chambre Romarin</option>
    			<option>Chambre lavande</option>
    			</select></td>
    		</tr>
    	</table>
     
     
    	</div>
     
     
    	<p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
    	<p style="margin-top: 0; margin-bottom: 0" align="left"><font size="5" color="#0000FF">
    	Détails de votre réservation&nbsp;&nbsp;&nbsp; </font></p>
    	<div align="left">
    	<table border="1" width="95%" cellspacing="1" bgcolor="#FFFFCC">
    		<tr>
    			<td width="596" align="center" height="46">
    			<p style="margin-top: 0; margin-bottom: 0" align="center">
    			<font size="5" color="#0000FF">Libellés</font></td>
    			<td width="8%" align="center" height="46">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font color="#0000FF">Nb de pers.</font></td>
    			<td align="center" width="8%" height="46">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font color="#0000FF" face="Times New Roman">P.U. /Pers</font></td>
    			<td align="center" width="13%" height="46">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font size="5" color="#0000FF">Totaux</font></td>
    		</tr>
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
    			<p style="margin-top: 0; margin-bottom: 0"><u><b><font size="4">Forfait global</font></b></u></p>
    			<p style="margin-top: 0; margin-bottom: 0">
    			&nbsp;</td>
    			<td width="8%" align="center">
    			<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D1" onChange="CalcGlobal()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<b>
    			<font face="Arial" size="2" color="#666666">410.00 €</font></b></td>
    			<td width="13%">
    			<p style="margin-top: 0; margin-bottom: 0">      
       		&nbsp;<!--webbot bot="Validation" s-display-name="NbForfaitGlobal" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotGlobal" id="CaseTotForfaits" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">&nbsp;<p style="margin-top: 0; margin-bottom: 0">
    			<u>
    			<b><font size="4">Forfait partiel</font></b></u>, 
    			<p style="margin-top: 0; margin-bottom: 0">
    			&nbsp;</td>
    			<td width="8%" align="center">
    			<p style="margin-top: 0; margin-bottom: 0">	
        	<select size="1" name="D2" onChange="CalcPartiel()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<b>
    			<font face="Arial" size="2" color="#666666">235.00 €</font></b></td>
    			<td width="13%">
    			<p style="margin-top: 0; margin-bottom: 0">      
       		&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotPartiel" id="CaseTotPersons" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td colspan="4">&nbsp;<p style="margin-top: 0; margin-bottom: 0"><font color="#FF0000"><b>Si vous avez choisi le &quot;Forfait 
    			partiel&quot;:</b></font> 
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font face="Arial" size="2" color="#0000FF">Veuillez sélectionner ci-dessous les activités souhaitées en précisant le 
    			nombre de personnes à inscrire</font></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Stage de <b>Danses folks</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D3" onChange="CalcDanse()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">30.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotDanse" id="CaseTotDanse" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Concert à thème de <b>Jean-Bernard Plantevin</b> (Les 13 
    			desserts)</td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D4" onChange="CalcConcert()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
     		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">10.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotConcert" id="CaseTotConcert" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Soirée de <b>Contes et Légendes</b> provençaux</td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D5" onChange="CalcContes()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">8.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotContes" id="CaseTotContes" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Visite, explication et dégustation dans une 
    			<b>Truffière</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D6" onChange="CalcTruffes()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
      		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">15.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotTruffes" id="CaseTotTruffes" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Visites &quot;Olives&quot;: 
    			<b>Scourtinerie</b> et <b>Le Vieux Moulin</b> à 
    			Nyons</td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D7" onChange="CalcOlives()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">7.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotOlives" id="CaseTotOlives" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td colspan="4">&nbsp;<p style="margin-top: 0; margin-bottom: 0">
    			<font color="#FF0000"><b>Toujours concernant les &quot;Forfaits partiels&quot;</b></font></p>
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font size="2" face="Arial" color="#0000FF">Choix des <b>repas du 
    			soir</b> que vous souhaitez partager 
    			avec nous</font></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 27: <b>Gardianne de Taureau</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D8" onChange="CalcRepas27()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">18.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas27" id="CaseTotRepas27" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 28: <b>Grand Aioli</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D9" onChange="CalcRepas28()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">20.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas28" id="CaseTotRepas28" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 29: <b>Civet de porcelet</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D10" onChange="CalcRepas29()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">18.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas29" id="CaseTotRepas29" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 30: <b>Blanquette de dinde</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D11" onChange="CalcRepas30()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">18.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas30" id="CaseTotRepas30" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0"><b>Repas de réveillon</b> 
    			(voir détails sur la page des menus)</td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D12" onChange="CalcRepas31()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">52.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas31" id="CaseTotRepas31" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 01: <b>Boeuf à la Provençale</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
     
        	<select size="1" name="D13" onChange="CalcRepas01()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">18.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas01" id="CaseTotRepas01" size="8" value="0" style="text-align: right"></td>
    		</tr>
    		<tr>
    			<td colspan="4">&nbsp;<p style="margin-top: 0; margin-bottom: 0" align="center">
    			<b>Nous vous remercions de bien vouloir prendre bonne note que <u>les boissons ne sont 
    			pas comprises</u> dans le prix des repas. </b></p>
    			<p style="margin-top: 0; margin-bottom: 0" align="center"><b>Notre vigneron vous proposera 
    			une vente directe dans la salle communale et différentes boissons 
    			vous seront proposées.</b></p>
    			<p style="margin-top: 0; margin-bottom: 0">&nbsp;</td>
    		</tr>
    		<tr>
    			<td colspan="3">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font face="Times New Roman" size="4" color="#0000FF">Total de votre 
    			séjour (non compris repas de midi et boissons lors des repas du 
    			soir)</font></td>
    			<td width="13%">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font color="#0000FF" size="4" face="Times New Roman">   
       			&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input name="TotFinal" id="CaseMainTot" size="14" value="0" style="float: right; font-family: Times New Roman; font-size: 14pt; color: #0000FF; text-align: right"></font></td>
    		</tr>
    	</table>
    	</div>
    	<p align="center">
          	<input type="submit" value="Envoyer" name="B1">
          	<input type="reset" value="Rétablir" name="B2">
        </p>
     
    </form>
    D'avance merci à la bonne âme qui se penchera sur ce problème

  2. #2
    Membre émérite Avatar de sebhm
    Homme Profil pro
    Développeur Web
    Inscrit en
    Avril 2004
    Messages
    1 090
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Landes (Aquitaine)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Avril 2004
    Messages : 1 090
    Par défaut
    Bonjour,

    c'est pas à toi que j'avais dit que les ID étaient nécessaires, également dans les SELECT ?

    et ensuite, je te conseille de revoir tes identifiants.
    Tu as par exemple un input comme ca :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <input type="text" name="TotGlobal" id="CaseTotForfaits" size="8" value="0" style="text-align: right">
    name et id différent, c'est pas top.
    Et du coup, javascript cherche
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    document.getElementById('TotGlobal')
    et il ne trouve pas

    j'ai donc testé apres correction.
    Ca marche.

    En Javascript, quand on fait un
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    document.getElementById('mon_identifiant').value
    on recupere la valeur du champ dont l'id est "mon_identifiant".

    Tu as donc besoin d'un ID pour chaque input/select.
    Et tu appelais tes input avec leur attribut name. Si tu accordes les id sur les name, tu n'as plus de probleme.

    apres, il faudra dire à frontpage que les balises et les attributs, c'est en minuscule, et les attributs entre guillemets...
    (mais tu n'y es pour rien)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <FORM METHOD=POST ACTION="mailto:bernard.schallen@gmail.com">


    par contre, une action avec un mail, je sais pas ce que ca peut donner... ??

  3. #3
    Membre Expert Avatar de bernardmichel
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Janvier 2004
    Messages
    1 181
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Vaucluse (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Janvier 2004
    Messages : 1 181
    Par défaut
    Citation Envoyé par sebhm Voir le message
    c'est pas à toi que j'avais dit que les ID étaient nécessaires, également dans les SELECT ?
    Mille excuses, cela m'avait totalement échappé... sorry

    Alors... J'ai bien fait, tout comme tu me l'expliques (merci pour les explications, c'est super clair !)... et ça marche effectivement : Génial !!

    Pour la suite, vu que c'est une autre discussion, j'hésite à ouvrir un nouveau post... ?? Merci de m'informer si quelqu'un souhaite que je le fasse

    Par contre ton interrogation concernant: "Une action avec un mail"... est fortement justifiée. En essayant, cela me créé un message inutilisable (ou difficilement) en l'état..., du style :
    T1=Schallenberger+Bernard&T2=Quartier+la+Ribaude&T3=84110+CRESTET&T4=04+90+28+11+90&T5=bernard%40gites-du-mazet.eu&D14=4&D15=2&T6=5+%26+8+ans&D16=G%C3%AEte+Romarin&D1=2&TotGlobal=820.00+%E2%82%AC&D2=2&TotPartiel=470.00+%E2%82%AC&D3=0&TotDanse=0&D4=0&TotConcert=0&D5=2&TotContes=16.00+%E2%82%AC&D6=0&TotTruffes=0&D7=2&TotOlives=14.00+%E2%82%AC&D8=2&TotRepas27=36.00+%E2%82%AC&D9=2&TotRepas28=40.00+%E2%82%AC&D10=2&TotRepas29=36.00+%E2%82%AC&D11=2&TotRepas30=36.00+%E2%82%AC&D12=2&TotRepas31=104.00+%E2%82%AC&D13=2&TotRepas01=36.00+%E2%82%AC&TotFinal=1608.00+%E2%82%AC&B1=Envoyer
    Si tu as une idée pour rendre ce message plus compréhensif... Je ne sais pas si tu en as besoin pour me répondre mais au cas où, je te poste le code dans son état modifié
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    <html>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
      "http://www.w3.org/TR/html4/strict.dtd">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Formulaire d'inscription</title>
    </head>
     
    <body>
    <script>
            function PrixTotal() {
            var F_Global=parseFloat(document.getElementById("TotGlobal").value);
            var F_Partiel=parseFloat(document.getElementById('TotPartiel').value);
            var Danse=parseFloat(document.getElementById("TotDanse").value);
            var Concert=parseFloat(document.getElementById("TotConcert").value);
            var Contes=parseFloat(document.getElementById("TotContes").value);
            var Truffes=parseFloat(document.getElementById("TotTruffes").value);
            var Olives=parseFloat(document.getElementById("TotOlives").value);
            var R27=parseFloat(document.getElementById("TotRepas27").value);
            var R28=parseFloat(document.getElementById("TotRepas28").value);
            var R29=parseFloat(document.getElementById("TotRepas29").value);
            var R30=parseFloat(document.getElementById("TotRepas30").value);
            var R31=parseFloat(document.getElementById("TotRepas31").value);
            var R01=parseFloat(document.getElementById("TotRepas01").value);
            document.getElementById('TotFinal').value=F_Global+F_Partiel+Danse+Concert+Contes+Truffes+Olives+R27+R28+R29+R30+R31+R01+".00 €";
            }
        function CalcGlobal() {
          var Prix=410;
          var Nb=parseFloat(document.getElementById('D1').value);
          var Result=Prix*Nb;
          document.getElementById('TotGlobal').value = Result+".00 €";
          PrixTotal()
        }     
        function CalcPartiel() {
          var Prix=235;
          var Nb=parseFloat(document.getElementById('D2').value);
          var Result=Prix*Nb;
          document.getElementById('TotPartiel').value = Result+".00 €";
          PrixTotal()
        }
        function CalcDanse() {
          var Prix=30;
          var Nb=parseFloat(document.getElementById('D3').value);
          var Result=Prix*Nb;
          document.getElementById('TotDanse').value = Result+".00 €";
          PrixTotal()
        }     
        function CalcConcert() {
          var Prix=10;
          var Nb=parseFloat(document.getElementById('D4').value);
          var Result=Prix*Nb;
          document.getElementById('TotConcert').value = Result+".00 €";
          PrixTotal()
        }
            function CalcContes() {
          var Prix=8;
          var Nb=parseFloat(document.getElementById('D5').value);
          var Result=Prix*Nb;
          document.getElementById('TotContes').value = Result+".00 €";
          PrixTotal()
        }     
        function CalcTruffes() {
          var Prix=15;
          var Nb=parseFloat(document.getElementById('D6').value);
          var Result=Prix*Nb;
          document.getElementById('TotTruffes').value = Result+".00 €";
          PrixTotal()
        }
            function CalcOlives() {
          var Prix=7;
          var Nb=parseFloat(document.getElementById('D7').value);
          var Result=Prix*Nb;
          document.getElementById('TotOlives').value = Result+".00 €";
          PrixTotal()
        }     
        function CalcRepas27() {
          var Prix=18;
          var Nb=parseFloat(document.getElementById('D8').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas27').value = Result+".00 €";
          PrixTotal()
        }
            function CalcRepas28() {
          var Prix=20;
          var Nb=parseFloat(document.getElementById('D9').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas28').value = Result+".00 €";
          PrixTotal()
        }
            function CalcRepas29() {
          var Prix=18;
          var Nb=parseFloat(document.getElementById('D10').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas29').value = Result+".00 €";
          PrixTotal()
        }
       function CalcRepas30() {
          var Prix=18;
          var Nb=parseFloat(document.getElementById('D11').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas30').value = Result+".00 €";
          PrixTotal()
        }
            function CalcRepas31() {
          var Prix=52;
          var Nb=parseFloat(document.getElementById('D12').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas31').value = Result+".00 €";
          PrixTotal()
        }
            function CalcRepas01() {
          var Prix=18;
          var Nb=parseFloat(document.getElementById('D13').value);
          var Result=Prix*Nb;
          document.getElementById('TotRepas01').value = Result+".00 €";
          PrixTotal()
        }    
    </script>
     
     
     
     
     
    <p><font face="Dauphin" size="5">Formulaire de réservation pour la &quot;Semaine de 
    culture provençale&quot; à Crestet</font></p>
     
     
     
    <FORM METHOD=POST ACTION="mailto:bernard.schallen@gmail.com">
    	<p style="margin-top: 0; margin-bottom: 0" align="left"><font size="5" color="#0000FF">
    	Vos coordonnées et choix d'hébergement</font></p>
    	<div align="left">
    	<table border="1" width="53%" cellspacing="1" bgcolor="#FFFFCC">
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Nom / Prénom</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T1" id="T1" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Adresse</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T2" id="T2" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">CP/Ville</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T3" id="T3" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Téléphone et/ou portable</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T4" id="T4" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Adresse E-mail</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T5" id="T5" size="48"></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Nb total de personnes</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<select size="1" name="D14" id="D14">
    			<option>1</option>
    			<option>2</option>
    			<option>3</option>
    			<option>4</option>
    			<option>5</option>
    			<option>6</option>
    			<option>7</option>
    			<option>8</option>
    			<option>9</option>
    			<option>10</option>
    			<option>11</option>
    			<option>12</option>
    			</select></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">... dont nb d'enfants</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<select size="1" name="D15" id="D15">
    			<option>0</option>
    			<option>1</option>
    			<option>2</option>
    			<option>3</option>
    			<option>4</option>
    			<option>5</option>
    			<option>6</option>
    			<option>7</option>
    			<option>8</option>
    			<option>9</option>
    			<option>10</option>
    			<option>11</option>
    			<option>12</option>
    			</select></td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">Âges respectifs des 
    			enfants</td>
    			<td width="37%" align="left">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<input type="text" name="T6" id="T6" size="48"></td>
    		</tr>
    		<tr>
    			<td width="55%" align="left" colspan="2">
    			Veuillez sélectionner ci-dessous l'hébergement défini par téléphone</td>
    		</tr>
    		<tr>
    			<td width="18%" align="left">
    			Hébergement choisi</td>
    			<td width="37%" align="left">
    			<select size="1" name="D16" id="D16">
    			<option>Gîte Thym</option>
    			<option>Gîte Romarin</option>
    			<option>Gîte Lavande</option>
    			<option>Chambre Serpolet</option>
    			<option>Chambre Bleue</option>
    			<option>Chambre Romarin</option>
    			<option>Chambre lavande</option>
    			</select></td>
    		</tr>
    	</table>
     
     
    	</div>
     
     
    	<p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
    	<p style="margin-top: 0; margin-bottom: 0" align="left"><font size="5" color="#0000FF">
    	Détails de votre réservation&nbsp;&nbsp;&nbsp; </font></p>
    	<div align="left">
    	<table border="1" width="95%" cellspacing="1" bgcolor="#FFFFCC">
    		<tr>
    			<td width="596" align="center" height="46">
    			<p style="margin-top: 0; margin-bottom: 0" align="center">
    			<font size="5" color="#0000FF">Libellés</font></td>
    			<td width="8%" align="center" height="46">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font color="#0000FF">Nb de pers.</font></td>
    			<td align="center" width="8%" height="46">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font color="#0000FF" face="Times New Roman">P.U. /Pers</font></td>
    			<td align="center" width="13%" height="46">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font size="5" color="#0000FF">Totaux</font></td>
    		</tr>
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
    			<p style="margin-top: 0; margin-bottom: 0"><u><b><font size="4">Forfait global</font></b></u></p>
    			<p style="margin-top: 0; margin-bottom: 0">
    			&nbsp;</td>
    			<td width="8%" align="center">
    			<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D1" id="D1" onChange="CalcGlobal()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<b>
    			<font face="Arial" size="2" color="#666666">410.00 €</font></b></td>
    			<td width="13%">
    			<p style="margin-top: 0; margin-bottom: 0">      
       		&nbsp;<!--webbot bot="Validation" s-display-name="NbForfaitGlobal" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotGlobal" id="TotGlobal" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">&nbsp;<p style="margin-top: 0; margin-bottom: 0">
    			<u>
    			<b><font size="4">Forfait partiel</font></b></u>, 
    			<p style="margin-top: 0; margin-bottom: 0">
    			&nbsp;</td>
    			<td width="8%" align="center">
    			<p style="margin-top: 0; margin-bottom: 0">	
        	<select size="1" name="D2" id="D2" onChange="CalcPartiel()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<b>
    			<font face="Arial" size="2" color="#666666">235.00 €</font></b></td>
    			<td width="13%">
    			<p style="margin-top: 0; margin-bottom: 0">      
       		&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotPartiel" id="TotPartiel" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td colspan="4">&nbsp;<p style="margin-top: 0; margin-bottom: 0"><font color="#FF0000"><b>Si vous avez choisi le &quot;Forfait 
    			partiel&quot;:</b></font> 
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font face="Arial" size="2" color="#0000FF">Veuillez sélectionner ci-dessous les activités souhaitées en précisant le 
    			nombre de personnes à inscrire</font></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Stage de <b>Danses folks</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D3" id="D3" onChange="CalcDanse()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">30.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotDanse" id="TotDanse" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Concert à thème de <b>Jean-Bernard Plantevin</b> (Les 13 
    			desserts)</td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D4" id="D4" onChange="CalcConcert()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
     		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">10.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotConcert" id="TotConcert" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Soirée de <b>Contes et Légendes</b> provençaux</td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D5" id="D5" onChange="CalcContes()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">8.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotContes" id="TotContes" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Visite, explication et dégustation dans une 
    			<b>Truffière</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D6" id="D6" onChange="CalcTruffes()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
      		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">15.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotTruffes" id="TotTruffes" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Visites &quot;Olives&quot;: 
    			<b>Scourtinerie</b> et <b>Le Vieux Moulin</b> à 
    			Nyons</td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D7" id="D7" onChange="CalcOlives()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">7.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotOlives" id="TotOlives" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td colspan="4">&nbsp;<p style="margin-top: 0; margin-bottom: 0">
    			<font color="#FF0000"><b>Toujours concernant les &quot;Forfaits partiels&quot;</b></font></p>
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font size="2" face="Arial" color="#0000FF">Choix des <b>repas du 
    			soir</b> que vous souhaitez partager 
    			avec nous</font></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 27: <b>Gardianne de Taureau</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D8" id="D8" onChange="CalcRepas27()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">18.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas27" id="TotRepas27" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 28: <b>Grand Aioli</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D9" id="D9" onChange="CalcRepas28()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">20.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas28" id="TotRepas28" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 29: <b>Civet de porcelet</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D10" id="D10" onChange="CalcRepas29()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">18.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas29" id="TotRepas29" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 30: <b>Blanquette de dinde</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D11" id="D11" onChange="CalcRepas30()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">18.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas30" id="TotRepas30" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0"><b>Repas de réveillon</b> 
    			(voir détails sur la page des menus)</td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
        	<select size="1" name="D12" id="D12" onChange="CalcRepas31()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">52.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas31" id="TotRepas31" size="8" value="0" style="text-align: right"></td>
    		</tr>
     
     
    		<tr>
    			<td width="596">
    			<p style="margin-top: 0; margin-bottom: 0">Repas du 01: <b>Boeuf à la Provençale</b></td>
    			<td width="8%" align="center">
        	<p style="margin-top: 0; margin-bottom: 0">
     
        	<select size="1" name="D13" id="D13" onChange="CalcRepas01()">>
      			<option value="0">0</option>
      			<option value="1">1</option>
      			<option value="2">2</option>
      			<option value="3">3</option>
      			<option value="4">4</option>
      			<option value="5">5</option>
      			<option value="6">6</option>
      			<option value="7">7</option>
      			<option value="8">8</option>
      			<option value="9">9</option>
      			<option value="10">10</option>
      			<option value="11">11</option>
      			<option value="12">12</option>
    		 </select></td>
    			<td align="center" width="8%">
    			<p style="margin-top: 0; margin-bottom: 0"><b>
    			<font face="Arial" size="2" color="#666666">18.00 €</font></b></td>
    			<td width="13%">
       		<p style="margin-top: 0; margin-bottom: 0">&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input type="text" name="TotRepas01" id="TotRepas01" size="8" value="0" style="text-align: right"></td>
    		</tr>
    		<tr>
    			<td colspan="4">&nbsp;<p style="margin-top: 0; margin-bottom: 0" align="center">
    			<b>Nous vous remercions de bien vouloir prendre bonne note que <u>les boissons ne sont 
    			pas comprises</u> dans le prix des repas. </b></p>
    			<p style="margin-top: 0; margin-bottom: 0" align="center"><b>Notre vigneron vous proposera 
    			une vente directe dans la salle communale et différentes boissons 
    			vous seront proposées.</b></p>
    			<p style="margin-top: 0; margin-bottom: 0">&nbsp;</td>
    		</tr>
    		<tr>
    			<td colspan="3">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font face="Times New Roman" size="4" color="#0000FF">Total de votre 
    			séjour (non compris repas de midi et boissons lors des repas du 
    			soir)</font></td>
    			<td width="13%">
    			<p style="margin-top: 0; margin-bottom: 0">
    			<font color="#0000FF" size="4" face="Times New Roman">   
       			&nbsp;<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." s-validation-constraint="Greater than or equal to" s-validation-value="0" --><input name="TotFinal" id="TotFinal" size="14" value="0" style="float: right; font-family: Times New Roman; font-size: 14pt; color: #0000FF; text-align: right"></font></td>
    		</tr>
    	</table>
    	</div>
    	<p align="center">
          	<input type="submit" value="Envoyer" name="B1">
          	<input type="reset" value="Rétablir" name="B2">
        </p>
     
    </form>
    Par avance, grand merci !!

  4. #4
    Membre émérite Avatar de sebhm
    Homme Profil pro
    Développeur Web
    Inscrit en
    Avril 2004
    Messages
    1 090
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Landes (Aquitaine)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Avril 2004
    Messages : 1 090
    Par défaut
    Qu'est ce que tu veux faire une fois que l'utilisateur a rempli ton formulaire ?

    tu veux enregistrer ses choix ? recevoir un mail ?

  5. #5
    Membre Expert Avatar de bernardmichel
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Janvier 2004
    Messages
    1 181
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Vaucluse (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Janvier 2004
    Messages : 1 181
    Par défaut
    J'aimerais simplement recevoir un mail avec le détail de ses choix afin que je puisse noter précisément ce qu'il désire pour sa réservation.

    Merci sebhm de suivre ce post, j'apprécie vraiment

  6. #6
    Membre émérite Avatar de sebhm
    Homme Profil pro
    Développeur Web
    Inscrit en
    Avril 2004
    Messages
    1 090
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Landes (Aquitaine)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Agroalimentaire - Agriculture

    Informations forums :
    Inscription : Avril 2004
    Messages : 1 090
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    Merci sebhm de suivre ce post, j'apprécie vraiment
    ce site m'a souvent aidé, alors je renvoie l'ascenseur quand je peux

    Je ne crois pas que le mail dans le 'action' du 'form' soit la bonne solution.
    (je ne savais meme pas qu'un mail partait !! ca m'étonne meme beaucoup )

    je pense qu'il faut que tu geres un envoi de mail dans la page qui recevra ton formulaire.
    Tu as ta page avec un formulaire
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <form ... action="traite_form.php" >
    (admettons qu'on fait ca en php).
    La page traite_form.php va récupérer les infos saisies par le client (tout le formulaire en fait) et va en faire ce qu'elle veut => dans ton cas, envoyer le mail.

    Ca veut dire qu'il faut écrire cette page PHP
    et que surtout, il faut que la fonction mail marche bien => donc configuration du serveur OK (SMTP et tout le blabla).

    je suis pas un expert sur les envois de mail en PHP.

    Je te conseille de poster dans le forum PHP. Tu pourras te faire aider pour :
    - récupérer les valeurs de ton formulaire
    - envoyer le mail

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [IP-2010] Problème de publication de formulaire InfoPath avec code C#
    Par miniil dans le forum InfoPath
    Réponses: 1
    Dernier message: 19/02/2012, 18h57
  2. Problème de publication d'un formulaire Infopath
    Par chrisade dans le forum SharePoint
    Réponses: 0
    Dernier message: 08/07/2009, 10h52
  3. Réponses: 6
    Dernier message: 19/05/2005, 11h06
  4. [FLASH MX2004] Problème à la publication
    Par BBric dans le forum Flash
    Réponses: 8
    Dernier message: 24/04/2005, 16h53
  5. Problème de publication en HTML
    Par chris21 dans le forum Flash
    Réponses: 10
    Dernier message: 03/09/2003, 20h28

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo