Bonjour à tous,
Je tiens tout de suite a dire que je suis asser nouveau dans la language ASP et j'apprend "sur le tas" comme on dit.
J'essaie de créer un formulaire que quand une personne clique dans la première colonne sur un bouton Radio, je veux qu'il affiche une information dans la 2e colonne. Je vais vous inclure le code et les test que j'ai fais. Cette page est un fichier .inc.
Je tiens à vous remercier d'avance pour votre aide.
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 <% ' response.write "xxx= " & form_HowCanWeHelp & "<br>" ' response.write "yyy= " & form_R1 & "<br>" ' response.write "zzz= " & Session("R1") & "<br>" form_HowCanWeHelp = form_R1 <!-- begin; ajout 21-12-2006 BLC --> If form_HowCanWeHelp = "Profile_temp" Then %> <% profile=request.form("profile")%> <table border="0" width="100%"> <tr> <td colspan="2" valign="top" class="jumpmenu">EMPLOYEE INFORMATION</td> </tr> </table> <!-- end; ajout 21-12-2006 BLC --> <table border="2" width="100%" style="color=#000080"> <tr> <td width="33%"> <input type="radio" name="Profile" value="FINANCE"> Finance<br> <input type="radio" name="Profile" value="IT"> IT </td> <td width="33%"> <%if request.form = "IT" then%> <input type="radio" name="Profile_2" value="HD"> Help Desk<br> <input type="radio" name="Profile_2" value="UA"> User Admin <%end if%> </td> <td width="33%"> <input type="radio" name="Profile_3" value="HD1"> Help Desk 1st level<br> <input type="radio" name="Profile_3" value="HD2"> Help Desk 2nd level<br> <input type="radio" name="Profile_3" value="HD2S"> Help Desk 2nd level Senior </td> </tr> <tr> <td width="30%" colspan="3">1 <br> <br> <p></p> </td> </tr> <P> </table> <!-- Fin du Formulaire Profile Modifier par ML --> <p> <table border="0" width="100%"> <tr> <td colspan="2" valign="top" class="jumpmenu">ADDITIONAL INSTRUCTIONS</td> </tr> </table> <br> <p> <font face="Arial" size="2" color="#000080"> Click here <a href="upload.asp" target="_blank"><img border="1" src="paperclip.gif" alt="File Attachment"></a> to attach a file to your request. <br>WARNING: Only one attachment can be added to your request. If you need to attach more than one file, please zip them into one file. <br><br> <font face="Arial" size="2" color="#000080"> <hr> <%end if%> </font>
Partager