Bonjour tout le monde,

J'ai un petit soucis avec du JS en fait je suis un noob de la programation et voila donc le truc c'est que a partir d'une première page qui est tout en html et c'est un formulaire elle renvoie des données a une autre page qui récapitule les saisies en php
La première page je fais des vérifs sur les champs obligatoires
La deuxième une vérification si il y a un changement entre la saisie de la première page et de la deuxième voila donc tout mes scripts son fait mais il doit y avoir un petit soucis car les vérif ne partent pas je vous par conséquent mes codes par contre jpense que je vais devoir faire un multi post.

Si quelqu'un veut bien m'aidez svp
merci d'avance

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
	<title>concours_sl - international</title>
	<script language="javascript" src="fonctions_JS3.js"></script>
	<!-- les fonctions js sont dans un fichier separe -->
</head>
<body>
<form action="concours_slinter.php" method="post" onsubmit="return verif_champs();" enctype="multipart/form-data"><br>
  <div style="text-align: center;"><big><img style="width: 122px; height: 121px;" alt="" src="smalllogo.png"><br>
  <br>
  </big><big>DOSSIER D'INSCRIPTION</big><br>
  <big>CONCOURS SL - International - 2009</big><br>
  <big>R&eacute;serv&eacute; aux candidats issus :</big><br>
  <big>* des classes préparatoires scientifiques (2ème année)</big><br>
   <br>
    <big>* de 2ème année (Licence Sciences et Technologie à </big><br>
	 <big>dominante mathématique, physique ou informatique</big><br>
  </div>
 
  <br>
  <br>
 <br>
  <br>
  <br>
  </small>
  <div style="text-align: left;"><span style="font-weight: bold;">Nom :&nbsp;</span><input style="font-weight: bold;" name="oldnom" id="oldnom" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; Pr&eacute;nom :&nbsp; &nbsp;
  </span><input style="font-weight: bold;" name="oldprenom" id="oldprenom" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;"> </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <span style="font-weight: bold;">N&eacute;(e) le :
&nbsp;</span><input style="font-weight: bold;" name="oldnaissance" id="oldnaissance" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Lieu :
&nbsp;</span><input style="font-weight: bold;" name="oldlieu" id="oldlieu" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;Pays : </span><input style="font-weight: bold;" name="oldpays" id="oldpays" value="" size="20" maxlength="20" type="text"><span style="font-weight: bold;"> <br>
  </span><span style="font-weight: bold;"><br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;Nationalit&eacute; : </span><input style="font-weight: bold;" name="oldnationalite" id="oldnationalite" value="" size="30" maxlength="30" type="text"><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <span style="font-weight: bold;">Adresse : </span><br style="font-weight: bold;">
  <textarea style="font-weight: bold;" type="text" name="oldadresse" id="oldadresse" rows="10" cols="50"></textarea><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <span style="font-weight: bold;">T&eacute;l&eacute;phone
:&nbsp;</span><input style="font-weight: bold;" name="oldtelephone" id="oldtelephone" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;
T&eacute;l&eacute;copie : </span><input style="font-weight: bold;" name="oldtelecopie" id="oldtelecopie" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;"> </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <span style="font-weight: bold;">Portable :&nbsp;</span><input style="font-weight: bold;" name="oldportable" id="oldportable" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;E-mail : </span><input style="font-weight: bold;" name="oldmail" id="oldmail" value="" size="40" maxlength="40" type="text"><span style="font-weight: bold;"> </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <span style="font-weight: bold;">ETUDES SECONDAIRES</span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <span style="font-weight: bold;">Etabliseements
fr&eacute;quent&eacute;s :</span>
  <br style="font-weight: bold;">
  <input style="font-weight: bold;" name="oldclasse" id="oldclasse" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Classe /
Option&nbsp;</span><input style="font-weight: bold;" name="oldoption" id="oldoption" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ann&eacute;e
:
&nbsp;</span><input style="font-weight: bold;" name="oldannee" id="oldannee" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;">
&nbsp; </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <input style="font-weight: bold;" name="oldclasse2" id="oldclasse2" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Classe /
Option&nbsp;</span><input style="font-weight: bold;" name="oldoption2" id="oldoption2" value="" size="30" maxlength="30"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ann&eacute;e
:
&nbsp;</span><input style="font-weight: bold;" name="oldannee2" id="oldannee2" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;">
&nbsp; </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <input style="font-weight: bold;" name="oldclasse3" id="oldclasse3" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Classe /
Option&nbsp;</span><input style="font-weight: bold;" name="oldoption3" id="oldoption3" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ann&eacute;e
:
&nbsp;</span><input style="font-weight: bold;" name="oldannee3" id="oldannee3" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;">
&nbsp; </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <input style="font-weight: bold;" name="oldclasse4" id="oldclasse4" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Classe /
Option&nbsp;</span><input style="font-weight: bold;" name="oldoption4" id="oldoption4" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ann&eacute;e
:
&nbsp;</span><input style="font-weight: bold;" name="oldannee4" id="oldannee4" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;">
&nbsp; </span><br style="font-weight: bold;">
  <span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <span style="font-weight: bold;">ETUDES SUPERIEURES</span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <span style="font-weight: bold;">Etablissements
fr&eacute;quent&eacute;s (pr&eacute;ciser la
ville) :<input style="font-weight: bold;" name="oldville" id="oldville" value="" size="30" maxlength="30" type="text"><br style="font-weight: bold;"></span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <input style="font-weight: bold;" name="oldclasse5" id="oldclasse5" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Classe /
Option&nbsp;</span><input style="font-weight: bold;" name="oldoption5" id="oldoption5" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ann&eacute;e
:
&nbsp;</span><input style="font-weight: bold;" name="oldannee5" id="oldannee5" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;">
&nbsp; </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <input style="font-weight: bold;" name="oldclasse6" id="oldclasse6" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Classe /
Option&nbsp;</span><input style="font-weight: bold;" name="oldoption6" id="oldoption6" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ann&eacute;e
:
&nbsp;</span><input style="font-weight: bold;" name="oldannee6" id="oldannee6" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;">
&nbsp; </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <input style="font-weight: bold;" name="oldclasse7" id="oldclasse7" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Classe /
Option&nbsp;</span><input style="font-weight: bold;" name="oldoption7" id="oldoption7" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ann&eacute;e
:
&nbsp;</span><input style="font-weight: bold;" name="oldannee7" id="oldannee7" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;">
&nbsp; </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <input style="font-weight: bold;" name="oldclasse8" id="oldclasse8" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; Classe /
Option&nbsp;</span><input style="font-weight: bold;" name="oldoption8" id="oldoption8" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ann&eacute;e
:
&nbsp;</span><input style="font-weight: bold;" name="oldannee8" id="oldannee8" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;">
&nbsp; &nbsp; </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <span style="font-weight: bold;">DIPLOMES OBTENUS</span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
  <input style="font-weight: bold;" name="olddiplome" id="olddiplome" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp; &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; Mention&nbsp;</span><input style="font-weight: bold;" name="oldmention" id="oldmention" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp; Ann&eacute;e : &nbsp;</span><input style="font-weight: bold;" name="oldannee9" id="oldannee9" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;"> </span><br style="font-weight: bold;">
  <input style="font-weight: bold;" name="olddiplome2" id="olddiplome2" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;Mention&nbsp;</span><input style="font-weight: bold;" name="oldmention2" id="oldmention2" value="" size="30" maxlength="30" type="text"><span style="font-weight: bold;">
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;Ann&eacute;e :
&nbsp;</span><input style="font-weight: bold;" name="oldannee10" id="oldannee10" value="" size="4" maxlength="4" type="text"><span style="font-weight: bold;"> </span><br style="font-weight: bold;">
  <br style="font-weight: bold;">
 
  <br style="font-weight: bold;">
  <div style="text-align: center; font-weight: bold;"><big><big>
  <input value="Valider" name="submit" type="submit">&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; </big></big><input value="annuler" type="reset"></div>
  <span style="font-weight: bold;" class="nt"></span><br>
  <span class="na"></span><span class="s"></span><span class="na"></span><span class="s"></span><span class="na"></span><span class="s"></span><span class="na"></span><span class="s"></span><span class="na"></span><span class="s"></span><span class="na"></span><span class="s"></span><span class="nt"></span></div>
  </div>
</form>
</body>
</html>