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

ASP Discussion :

Formulaire plusieurs radio bouton


Sujet :

ASP

  1. #1
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    47
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Mai 2007
    Messages : 47
    Points : 32
    Points
    32
    Par défaut Formulaire plusieurs radio bouton
    Bonjour,

    J'aimerais savoir comment coder mon envoi de donnée de formulaire dépendemment de quel radio bouton est choisi:

    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
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    sendUrl="http://schemas.microsoft.com/cdo/configuration/sendusing"
    smtpUrl="http://schemas.microsoft.com/cdo/configuration/smtpserver"
     
     
    ' Set the mail server configuration
    Set objConfig=CreateObject("CDO.Configuration")
    objConfig.Fields.Item(sendUrl)=2 ' cdoSendUsingPort
    objConfig.Fields.Item(smtpUrl)="relay-hosting.secureserver.net"
    objConfig.Fields.Update
     
     
    ' Create and send the mail
    Set objMail=CreateObject("CDO.Message")
    ' Use the config object created above
    Set objMail.Configuration=objConfig
    objMail.From="formmailer@secureserver.net"
    objMail.ReplyTo="Ne pas répondre"
    objMail.To="multigrafe@hotmail.com"
    objMail.Subject="subject"
    //if radio_bouton_1 is check
    objMail.TextBody="Nom" & Request.Form("nom") & vbcrlf
    ////if radio_bouton_2 is check
    objMail.TextBody=objMail.TextBody & "Téléphone" & Request.Form("tel") & vbcrlf 
    objMail.TextBody=objMail.TextBody & "Courriel" & Request.Form("email") & vbcrlf
    objMail.TextBody=objMail.TextBody & "Notes et commentaires" & Request.Form("notes")
    objMail.Send
    %>
    Merci de m'aider

    Fred

  2. #2
    Membre actif
    Homme Profil pro
    Webmaster Pays Basque
    Inscrit en
    Avril 2004
    Messages
    207
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 52
    Localisation : France

    Informations professionnelles :
    Activité : Webmaster Pays Basque
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2004
    Messages : 207
    Points : 238
    Points
    238
    Par défaut
    Comme tu n'as pas joins le formulaire, je ne peux que supposer...
    1. Tu donnes le même nom à tes boutons radio. Comme ils sont radio, un seul sera sélectionné et donc tu n'as qu'une valeur à récupérer.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
     
    <input type=radio name=radio_bouton value=1>Nom
    <input type=radio name=radio_bouton value=2>Tél, courrier, notes
    2. Tu adaptes ton code comme suivant :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    select case request.form("radio_bouton")
    case 1
       objMail.TextBody="Nom" & Request.Form("nom") & vbcrlf
    case 2
       objMail.TextBody=objMail.TextBody & "Téléphone" & Request.Form("tel") & vbcrlf 
       objMail.TextBody=objMail.TextBody & "Courriel" & Request.Form("email") & vbcrlf
       objMail.TextBody=objMail.TextBody & "Notes et commentaires" & Request.Form("notes")
    end select
    Tu peux aussi factoriser ton objet email dans une fonction qui te servira pour l'ensemble de ton site et y passer que : qui, pour qui, sujet, texte, format...

  3. #3
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    47
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Mai 2007
    Messages : 47
    Points : 32
    Points
    32
    Par défaut
    J'ai essayé avec select case mais mon courriel n'affiche pas les select case.

    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
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    sendUrl="http://schemas.microsoft.com/cdo/configuration/sendusing"
    smtpUrl="http://schemas.microsoft.com/cdo/configuration/smtpserver"
     
     
    ' Set the mail server configuration
    Set objConfig=CreateObject("CDO.Configuration")
    objConfig.Fields.Item(sendUrl)=2 ' cdoSendUsingPort
    objConfig.Fields.Item(smtpUrl)="relay-hosting.secureserver.net"
    objConfig.Fields.Update
     
     
    ' Create and send the mail
    Set objMail=CreateObject("CDO.Message")
    ' Use the config object created above
    Set objMail.Configuration=objConfig
    objMail.From="formmailer@secureserver.net"
    objMail.ReplyTo="Ne pas répondre"
    objMail.To="daniellepaq@videotron.ca"
    objMail.Subject="subject"
    objMail.HTMLBody= "<table border='0' width='700'>"
    objMail.HTMLBody= objMail.HTMLBody & "<tr>"
    objMail.HTMLBody= objMail.HTMLBody & "<td style='border-width:1px; border-collapse:collapse; border-collapse:collapse; border-color:red; border-style:solid' width='350'><strong>Magazine</strong></td>"
    select case request.form("choix")
    case 1
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' width='350'> <strong>ccb</strong></td>"
    case 2
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' width='350'>tire</td>"
    case 3
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' width='350'>fleet</td>"
    case 4
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' width='350'>lg</td>"
    case 5
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' width='350'>lc</td>"
    case 6
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' width='350'>pneu</td>"
    case 7
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' width='350'>cam</td>"
    end select
    objMail.HTMLBody= objMail.HTMLBody & "</tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' width='350'> <strong>name</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("name")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>firstName</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'width='350' >"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("firstName")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Address</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'width='350' >"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("address")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>City</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("city")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Postal Code</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("postalCode")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Province</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("province")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Phone</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("phone")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Fax</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("fax")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>email</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("Email")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Color of your vehicle</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("colors")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Company</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("company")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Title/Occupation</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("occupation")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>specify</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("specify")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr>"
    select case request.form("choix")
    case 1
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>line of business</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("business_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("specify_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("employees_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr service bays</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("bays_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest training annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("training_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("equipment_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>people have access the magazine</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("magazine_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Comments</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("comment_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr></table>"
    case 2
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>line of business</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("business_tire")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("specify_tire")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("employees_tire")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr service bays</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("bays_tire")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest training annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("sales_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("equipment_tire")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>people have access the magazine</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("magazine_tire")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Comments</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("comment_tire")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr></table>"
    case 3
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>line of business</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("business_fleet")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("specify_fleet")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("employees_fleet")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr service bays</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("vehicule_fleet")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest training annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("carvstruck_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("change_fleet")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("enviromemtal_fleet")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>people have access the magazine</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("magazine_fleet")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Comments</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("comment_fleet")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr></table>"
    case 4
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>line of business</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("business_lg")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployeacute;es</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("specify_lg")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("employees_lg")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr service bays</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("bays_lg")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest training annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("formation_ccb")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("equipment_lg")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("magazine_lg")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Comments</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("comment_lg")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr></table>"
    case 5
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>line of business</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("business_lc")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployeacute;es</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("specify_lc")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("employees_lc")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr service bays</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("bays_lc")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest training annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("formation_lc")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("equipment_lc")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("magazine_lc")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Comments</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("comment_lc")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr></table>"
    case 6
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>line of business</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("business_pneu")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployeacute;es</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("specify_pneu")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("employees_pneu")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr service bays</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("bays_pneu")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest training annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("ventes_pneu")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("equipment_pneu")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("magazine_pneu")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Comments</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("comment_pneu")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr></table>"
    case 7
    objMail.HTMLBody= objMail.HTMLBody & "<tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>line of business</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("business_cam")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployeacute;es</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("specify_cam")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr enployees</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("employees_cam")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Nbr service bays</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("parc_cam")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest training annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("truckvscar_cam")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("vehicule_cam")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("eco_cam")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Invest tools, equipment annually</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("magazine_cam")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr><tr><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid' > <strong>Comments</strong></td><td style='border-width:1px; border-collapse:collapse; border-color:red; border-style:solid'  width='350'>"
    objMail.HTMLBody= objMail.HTMLBody & Request.Form("comment_cam")
    objMail.HTMLBody= objMail.HTMLBody & "</td></tr></table>"
    end select
    objMail.Send
    response.redirect "http://www.autosphere.ca/en/thank-you-subscribe.html"
    %>

  4. #4
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    47
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Mai 2007
    Messages : 47
    Points : 32
    Points
    32
    Par défaut
    Oups voici mon formulaire:

    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
    <script>
    function checkall(formname,checkname,thestate){
    var el_collection=eval("document.forms."+formname+"."+checkname)
    for (c=0;c<el_collection.length;c++)
    el_collection[c].checked=thestate
    }
    function error(elem, text)
    {
    if (errfound) return;
    window.alert(text);
    elem.select();
    elem.focus();
    errfound = true;
    }
    function errorCocher(elem, text)
    {
    if (errfound) return;
    window.alert(text);
    elem[0].select();
    elem[0].focus();
    errfound = true;
    }
    function errorSelect(elem, text)
    {
    if (errfound) return;
    window.alert(text);
    elem[0].selected = true;
    elem[0].focus();
    errfound = true;
    }
    function controlFields(form) {
    errfound = false;
    if (form.firstName.value == "") error(form.firstName, "Please input your first name");
    if (form.name.value == "") error(form.name, "Please input your last name");
    if (form.company.value == "") error(form.company, "Please input your company name");
    if (form.address.value == "") error(form.address, "Please input your address");
    if (form.city.value == "") error(form.city, "Please input your city");
    if (form.province.value == "") error(form.province, "Please input your province");
    if (form.postalCode.value == "") error(form.postalCode, "Please input your postal code");
    if (form.courriel.value == "") error(form.courriel, "Please input your email");
    if ((form.courriel.value.length <= 6) || (form.courriel.value.indexOf ('@', 0) == -1) || (form.courriel.value.indexOf ('.', 0) == -1) || (form.courriel.value.indexOf ('.', 0) == form.courriel.value.length - 1) ) error(form.courriel, "Your email is not valide. Please check.");
    if (!errfound) document.Contact.submit();
    }
    function MM_changeProp(objId,x,theProp,theValue) { //v9.0
      var obj = null; with (document){ if (getElementById)
      obj = getElementById(objId); }
      if (obj){
        if (theValue == true || theValue == false)
          eval("obj.style."+theProp+"="+theValue);
        else eval("obj.style."+theProp+"='"+theValue+"'");
      }
    }
    var toggledDisplay = new Object();
        toggledDisplay['sub1'] = false;
        toggledDisplay['sub2'] = false;
        toggledDisplay['sub3'] = false;
        toggledDisplay['sub4'] = false;
        toggledDisplay['sub5'] = false;
        toggledDisplay['sub6'] = false;
        toggledDisplay['sub7'] = false;
    	toggledDisplay['sub8'] = false;
     
    function toggleDisplay(bDisplayed)
    {
      if(!document.getElementById || toggleDisplay.arguments.length < 2) return;
      var displayed = new Object();
          displayed['true'] = 'block';
          displayed['false'] = 'none';
      for(var i = 1; i < toggleDisplay.arguments.length; i++)
      {
        oDisplay = document.getElementById(toggleDisplay.arguments[i]);
        if(oDisplay)
        {
          oDisplay.style.display = displayed[bDisplayed];
          if(bDisplayed)
          {
            oImages = oDisplay.getElementsByTagName('IMG');
            for(var j = 0; j < oImages.length; j++)
              oImages[j].src = oImages[j].src;
          }
          // end mozilla, err, crap browser hack
           if(typeof toggledDisplay[toggleDisplay.arguments[i]] != 'undefined')
            toggledDisplay[toggleDisplay.arguments[i]] = !bDisplayed;
        }
      }
    }
    </script>
    * Required field
    <form method="post" name="Contact" action="send.asp" onsubmit="toggleDisplay(false, 'sub2', 'sub3', 'sub4', 'sub5', 'sub6', 'sub7', 'sub1', 'sub8')">
      <fieldset class="fieldset-01"><legend>Please register or renew my subscription to the following magazine(s):</legend>
        <ul>
            <li><label>Carcare Business </label><input name=choix type="radio" onclick="toggleDisplay(true, 'sub1', 'sub8');toggleDisplay(false, 'sub2', 'sub3', 'sub4', 'sub5', 'sub6', 'sub7')" value=ccb /></li>
            <li><label>Tire News</label> <input name="choix" type="radio" value="2" onclick="toggleDisplay(true, 'sub2', 'sub8');toggleDisplay(false, 'sub1', 'sub3', 'sub4', 'sub5', 'sub6', 'sub7')" /></li>
            <li><label>fleetdigest</label> <input name="choix" type="radio" value="3" onclick="toggleDisplay(true, 'sub3', 'sub8');toggleDisplay(false, 'sub2', 'sub1', 'sub4', 'sub5', 'sub6', 'sub7')"/></li>
            <li><label>Le Garagiste</label> <input name="choix" type="radio" value="4" onclick="toggleDisplay(true, 'sub4', 'sub8');toggleDisplay(false, 'sub2', 'sub3', 'sub1', 'sub5', 'sub6', 'sub7')"/></li>
            <li><label>Le Carrossier</label> <input name="choix" type="radio" value="5" onclick="toggleDisplay(true, 'sub5', 'sub8');toggleDisplay(false, 'sub2', 'sub3', 'sub4', 'sub1', 'sub6', 'sub7')"/></li>
            <li><label>Pneu Mag</label> <input name="choix" type="radio" value="6" onclick="toggleDisplay(true, 'sub6', 'sub8');toggleDisplay(false, 'sub2', 'sub3', 'sub4', 'sub5', 'sub1', 'sub7')"/></li>
            <li><label>Camauto</label> <input name="choix" type="radio" value="7" onclick="toggleDisplay(true, 'sub7', 'sub8');toggleDisplay(false, 'sub2', 'sub3', 'sub4', 'sub5', 'sub6', 'sub1')"/></li>
        </ul></fieldset>
      <fieldset class="fieldset-02"><legend>General Inquiry</legend>
    <ul>
    <table border="0">
      <tr>
        <td><li><label>* First Name: </label><input name="firstName" type="text"  /></li></td>
        <td><li><label>* Name: </label><input name="name" type="text" /></li></td>
      </tr>
      <tr>
        <td><li>
          <label>* Address: </label>
          <input name="address" type="text" />
        </li></td>
        <td><li>
          <label>* City: </label>
          <input name="city" type="text" />
        </li></td>
      </tr>
      <tr>
        <td><li>
          <label>* Province: </label>
          <input name="province" type="text" />
        </li></td>
        <td><li>
          <label>* Postal code: </label>
          <input name="postalCode" type="text" />
        </li></td>
      </tr>
      <tr>
        <td>
          <li>
            <label>Phone: </label>
            <input name="phone" type="text" />
          </li>
        </td>
        <td><li>
          <label>Fax: </label>
          <input name="fax" type="text" />
        </li></td>
      </tr>
      <tr>
        <td><li>
          <label>* E-mail: </label>
          <input name="email" type="text" id="email" />
        </li></td>
        <td><li>
          <label>Color of your vehicle:</label>
          <select name="colors">
            <option value="choix" selected="selected">Select</option>
            <option value="red">Red</option>
            <option value="green">Green</option>
            <option value="yellow">Yellow</option>
            <option value="black">Black</option>
            <option value="white">White</option>
            <option value="blue">Blue</option>
            <option value="orange">Orange</option>
            <option value="beige">Beige</option>
            <option value="grey / Silver">Grey / Silver</option>
            <option value="gold">Gold</option>
            <option value="bronze">Bronze</option>
          </select>
        </li></td>
      </tr>
      <tr>
        <td colspan="2"><li>
          <label>* Company: </label>
            <input name="company" type="text" />
          </li></td>
        </tr>
        <tr>
        <td colspan="2"><li>
          <label>Title/Occupation: </label>
            <select name="occupation">
              <option value="" selected="selected">Select</option>
              <option value="(1) EXECUTIVE/OWNER/ADMINISTRATION">(1) EXECUTIVE/OWNER/ADMINISTRATION</option>
              <option value="(2) MANAGEMENT">(2) MANAGEMENT</option>
              <option value="(3) REPAIR AND SERVICE">(3) REPAIR AND SERVICE</option>
              <option value="(4) TRAINING">(4) TRAINING</option>
              <option value="(5) SALES">(5) SALES</option>
              <option value="(6) Other">Other</option>
            </select>
            <input name="specify" type="text" id="specify" />
        </li>
          </td>
        </tr>
    </table>
    </ul>
        </fieldset> 
            <ol id="sub1">
    <fieldset class="fieldset-03" ><legend>Please indicate your company's line of business</legend>
        <p>	
          <label>* Please select: </label>
          <select name="business_ccb" id="business_ccb">
            <option value="" selected="selected" name"select">Select</option>
            <option value="(1a) General Service and Repair Shop - Chain">(1a) General Service and Repair Shop - Chain</option>
            <option value="(1b) General Service and Repair Shop - Independent">(1b) General Service and Repair Shop - Independent</option>        
            <option value="(2a) Specialized Service and Repair Shop - Chain">(2a) Specialized Service and Repair Shop - Chain</option>
            <option value="(2b) Specialized Service and Repair Shop - Independent">(2b) Specialized Service and Repair Shop - Independent</option>
            <option value="(2c) Specialized Service and Repair Shop - Specify">(2c) Specialized Service and Repair Shop - Specify</option>
            <option value="(3) Car and Truck Dealer">(3) Car and Truck Dealer</option>
            <option value="(4) Fleet with Repair Facilities">(4) Fleet with Repair Facilities</option>
            <option value="(5) Wholesalers and Jobbers">(5) Wholesalers and Jobbers</option>
            <option value="(6) Manufacturers and Distributors Agent">(6) Manufacturers and Distributors Agent</option>
            <option value="(7) Automotive training">(7) Automotive training</option>
            <option value="(8) Other allied to the Field">(8) Other allied to the Field"</option>
          </select>
            <input name="specify_ccb" type="text" id="specify_ccb" /></input>
        </p>
     
     
    </fieldset> 
        </br>
        <fieldset class="fieldset-04"><legend>QUESTIONNAIRE</legend>
          <p>
          <label>* Number of enployees ? </label><select name="employees_ccb" id="employees_ccb">
            <option value="" selected="selected">Select</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and more">11 and more</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Number of service bays ? </label><select name="bays_ccb" id="bays_ccb">
            <option value="" selected="selected">Select</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and more">11 and more</option>
            <option value="N/A">N/A</option>        
            </select></p>
          <p><label>* How much do you invest in training annually ? </label><select name="training_ccb" id="training_ccb">
            <option value="" selected="selected">Select</option>
            <option value="$0-500">$0-500</option>
            <option value="$501-2000">$501-2000</option>        
            <option value="$2001 and over">$2001 and over</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* How much do you invest in tools & equipment annually ? </label><select name="equipment_ccb" id="equipment_ccb">
            <option value="" selected="selected">Select</option>
            <option value="$0-5000">$0-5000</option>
            <option value="$5001-15 000">$5001-15 000</option>        
            <option value="$15 001 and over">$15 001 and over</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* How many people have access to your magazine? </label><input name="magazine_ccb" type="text" id="magazine_ccb" /></input>
            </p>
            <p><label>* Comments </label>
    	<textarea name="comment_ccb" cols="30" id="comment_ccb"></textarea>
            </p>
        </fieldset>
            </ol>
            <ol id="sub2">
    <fieldset class="fieldset-05"><legend>Please indicate your company's line of business</legend>
        <p>	
          <label>* Please select: </label>
          <select name="business_tire" id="business_tire">
            <option value="" selected="selected" name"select">Select</option>
            <option value="(1) Tire Dealers, Wholesalers and Distributor">(1) Tire Dealers, Wholesalers and Distributor</option>
            <option value="(2) General Service and Repair Shop">(2) General Service and Repair Shop</option>        
            <option value="(3) Specialized Service and Repair Shop">(3) Specialized Service and Repair Shop</option>
            <option value="(4) Car and Truck Dealer">(4) Car and Truck Dealer</option>
            <option value="(5) Fleet">(5) Fleet</option>
            <option value="(6) Other allied to the Field">(6) Other allied to the Field"</option>
          </select>
          <input name="specify_tire" type="text" id="specify_tire" /></input>
        </p>
        </fieldset> 
            </br>
        <fieldset class="fieldset-06"><legend>QUESTIONNAIRE</legend>
          <p>
          <label>* Number of enployees ? </label><select name="employees_tire" id="employees_tire">
            <option value="" selected="selected">Select</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and more">11 and more</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Number of service bays ? </label><select name="bays_tire" id="bays_tire">
            <option value="" selected="selected">Select</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and more">11 and more</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* What percentage of your sales is related to tire ? </label><select name="sales_tire" id="sales_tire">
            <option value="" selected="selected">Select</option>
            <option value="1-20%">1-20%</option>
            <option value="21-50%">21-50%</option>        
            <option value="51-100%">51-100%</option>
            <option value="N/A">N/A</option>
          </select></p>
          <p><label>* How much do you invest in tools & equipment per year ? </label><select name="equipment_tire" id="equipment_tire">
            <option value="" selected="selected">Select</option>
            <option value="$0-5000">$0-5000</option>
            <option value="$5001-15 000">$5001-15 000</option>        
            <option value="$15 001 and over">$15 001 and over</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* How many people have access to your magazine? </label><input name="magazine_tire" type="text" id="magazine_tire" /></input>
          </p>
            <p><label>* Comments </label>
    	<textarea name="comment_tire" cols="30" id="comment_tire"></textarea>
            </p>
        </fieldset>
            </ol>
      <ol id="sub3">
    <fieldset class="fieldset-07"><legend>Please indicate your company's line of business</legend>
        <p>	
          <label>* Please select: </label>
          <select name="business_fleet" id="business_fleet">
            <option value="" selected="selected" name"select">Select</option>
            <option value="(1a) Corporate and Commercial Fleets - Construction">(1a) Corporate and Commercial Fleets - Construction</option>
            <option value="(1b) Corporate and Commercial Fleets - Manufacturing Industries and Transformation">(1b) General Service and Repair Shop - Manufacturing Industries and Transformation</option>
            <option value="(1c) Corporate and Commercial Fleets - Energy and Telecommunications">(1c) General Service and Repair Shop - Energy and Telecommunications</option>        
            <option value="(1d) Corporate and Commercial Fleets - Wholesalers and Retail Stores">(1d) General Service and Repair Shop - Wholesalers and Retail Stores</option>
            <option value="(1e) Corporate and Commercial Fleets - Transportation, Storage and Courier">(1e) General Service and Repair Shop - Transportation, Storage and Courier</option>
            <option value="(1f) Corporate and Commercial Fleets - Agriculture, Forest and Mines">(1f) General Service and Repair Shop - Agriculture, Forest and Mines</option>
            <option value="(1g) Corporate and Commercial Fleets - Service and Consultation">(1g) General Service and Repair Shop - Service and Consultation</option>
            <option value="(1g) Corporate and Commercial Fleets - Other (Specify)">(1g) General Service and Repair Shop - Other (Specify)</option>        
            <option value="(2a) Governement and Utilities - Federal">(2a) Governement and Utilities - Federal</option>
            <option value="(2b) Governement and Utilities - Provincial">(2b) Governement and Utilities - Provincial</option>
            <option value="(2c) Governement and Utilities - Municipalities">(2c) Governement and Utilities - Municipalities</option>
            <option value="(2d) Governement and Utilities - Utilities">(2d) Governement and Utilities - Utilities</option>
            <option value="(3a) Leasing and Rental - Fleet lessors">(3A) Leasing and Rental - Fleet lessors</option>
            <option value="(3a) Leasing and Rental - Dayli Rental">(3A) Leasing and Rental - Daily Rental</option>
            <option value="(4) Fleet Maintenance">(4) Fleet Maintenance</option>
            <option value="(5) Car and Truck Dealers">(5) Car and Truck Dealers</option>
            <option value="(8) Other allied to the Field">(4) Other allied to the Field"</option>
          </select>
          <input name="specify_fleet" type="text" id="specify_fleet" /></input>
        </p>
        </fieldset>    </br> 
        <fieldset class="fieldset-08"><legend>QUESTIONNAIRE</legend>
          <p>
          <label>* Number of enployees ? </label><select name="employees_fleet" id="employees_fleet">
            <option value="" selected="selected">Select</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and more">11 and more</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Number of vehicles in your fleet ? </label><select name="vehicule_fleet" id="vehicule_fleet">
            <option value="" selected="selected">Select</option>
            <option value="0-5">0-5</option>
            <option value="6-20">6-20</option>        
            <option value="21 and more">21 and more</option>
            <option value="N/A">N/A</option>
          </select></p>
          <p><label>* Percentage of cars (versus trucks) in your fleet ? </label><input name="truckvscars_fleet" type="text" id="truckvscars_fleet" /></input>
          </p>
          <p><label>* Percentage of vehicles in your fleet changed yearly ? </label><input name="pc_fleet" type="text" id="pc_fleet" /></input>
          </p>        
          <p><label>* Is the enviromental footprint important to your organization ? </label><select name="enviromental_fleet" id="enviromental_fleet">
            <option value="" selected="selected">Select</option>
            <option value="not important">not important</option>
            <option value="somewhat important">somewhat important</option>        
            <option value="very important">very important</option>
          </select>      <p><label>* Combien de personnes ont accès à votre magazine ?</label><input name="magazine_fleet" type="text" id="magazine_fleet" /></input>
            </p>
            <p><label>* Comments </label>
    	<textarea name="comment_fleet" cols="30" id="comment_fleet"></textarea>
            </p>
        </fieldset>
            </ol>
            <ol id="sub4">
    <fieldset class="fieldset-09"><legend>Please indicate your company's line of business</legend>
        <p>	
          <label>* Sélectionner: </label>
          <select name="business_lg" id="business_lg">
            <option value="" selected="selected" name"select">Select</option>
            <option value="(1a) Centre de Service et de Réparation Générale - Chaine">(1a) Centre de Service et de Réparation Générale - Chaine</option>
            <option value="(1b) Centre de Service et de Réparation Générale - Independant">(1b) Centre de Service et de Réparation Générale - Independent</option>        
            <option value="(2a) Centre de Service et de Réparation Spécialisée - Chaine">(2a) Centre de Service et de Réparation Spécialisée - Chaine</option>
            <option value="(2b) Centre de Service et de Réparation Spécialisée - Independant">(2b) Centre de Service et de Réparation Spécialisée - Independent</option>
            <option value="(2c) Centre de Service et de Réparation Spécialisée - Autre (Preciser)">(2c) Centre de Service et de Réparation Spécialisée - Autre (Preciser)</option>
            <option value="(3) Concessions de Voitures et de Camion">(3) Concessions de Voitures et de Camion</option>
            <option value="(4) Parcs Auto avec Atelier de Réparation">(4) Parcs Auto avec Atelier de Réparation</option>
            <option value="(5) Vente au détail et Grossistes">(5) Vente au détail et Grossistes</option>
            <option value="(6) Manufacturiers et Distributeur">(6) Manufacturiers et Distributeur</option>
            <option value="(7) Centre de Formation">(7) Centre de Formation</option>
            <option value="(8) Autre reliés à l'Industrie (Preciser)">(4) Autre reliés à l'Industrie (Preciser)"</option>
          </select>
          <input name="specify_lg" type="text" id="specify_lg" /></input>
        </p>
        </fieldset>    </br> 
        <fieldset class="fieldset-10"><legend>QUESTIONNAIRE</legend>
          <p>
          <label>* Nombre d'employés ? </label><select name="employees_lg" id="employees_lg">
            <option value="" selected="selected">Select</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 et plus">11 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Nombre d'aires de service ? </label><select name="bays_lg" id="bays_lg">
            <option value="" selected="selected">Selectionner</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 et plus">11 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Quel est votre budget annuel de formation ? </label><select name="formation_lg" id="formation_lg">
            <option value="" selected="selected">Select</option>
            <option value="$0-500">$0-500</option>
            <option value="$501-2000">$5001-2000</option>        
            <option value="$2001 et plus">$2001 et plus</option>
            <option value="N/A">N/A</option>
          </select></p>
          <p><label>* Quelle est la somme investie annuellement pour les outils et l'équipement ? </label><select name="equipment_lg" id="equipment_lg">
            <option value="" selected="selected">Select</option>
            <option value="$0-5000">$0-5000</option>
            <option value="$5001-15 000">$5001-15 000</option>        
            <option value="$15 001 et plus">$15 001 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Combien de personnes ont accès à votre magazine ? </label><input name="magazine_lg" type="text" id="magazine_lg" /></input>
          </p>
            <p><label>* Commentaires </label>
    	<textarea name="comment_lg" cols="30" id="comment_lg"></textarea>
            </p>
        </fieldset>
            </ol>
      <ol id="sub5">
    <fieldset class="fieldset-11"><legend>Please indicate your company's line of business</legend>
        <p>	
          <label>* Selectionner: </label>
          <select name="business_lc" id="business_lc">
            <option value="" selected="selected" name"select">Select</option>
            <option value="(1a) Atelier de Carrosserie - Chaine">(1a) Atelier de Carrosserie - Chaine</option>
            <option value="(1b) Atelier de Carrosserie - Independant">(1b) Atelier de Carrosserie - Independant</option>        
            <option value="(2) Concession de Voitures et de Camions (Preciser)">(2) Concession de Voitures et de Camions (Preciser)</option>
            <option value="(3) Assurance et Evaluation">(3) Assurance et Evaluation</option>
            <option value="(4) Centre de Service et de Reparation Specialisee">(4) Centre de Service et de Reparation Specialisee</option>
            <option value="(5) Fournisseur de pieces et Grossistes">(5) Fournisseur de pieces et Grossistes</option>
            <option value="(6) Manufacturiers et Distributeur">(6) Manufacturiers et Distributeur</option>
            <option value="(7) Centre de Formation">(7) Centre de Formation</option>
            <option value="(8) Autre relies a l'Industrie">(4) Autre relies a l'Industrie"</option>
          </select>
          <input name="specify_lc" type="text" id="specify_lc" /></input>
        </p>
        </fieldset>    </br> 
        <fieldset class="fieldset-12"><legend>QUESTIONNAIRE</legend>
          <p>
          <label>* Nombre d'employés ? </label><select name="employees_lc" id="employees_lc">
            <option value="" selected="selected">Selectionner</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and more">11 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Nombre de postes de travail ? </label><select name="bays_lc" id="bays_lc">
            <option value="" selected="selected">Select</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and More">11 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Quel est votre budget annuel de formation ? </label><select name="formation_lc" id="formation_lc">
            <option value="" selected="selected">Select</option>
            <option value="$0-500">$0-500</option>
            <option value="$501-2000">$501-2000</option>        
            <option value="$2001 and over">$2001 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Quelle est la somme investie annuellement pour les outils et l'équipement ? </label><select name="equipment_lc" id="equipment_lc">
            <option value="" selected="selected">Select</option>
            <option value="$0-5000">$0-5000</option>
            <option value="$5001-15 000">$501-15 000</option>        
            <option value="$15 001 and over">$15 001 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Combien de personnes ont accès à votre magazine ? </label><input name="magazine_lc" type="text" id="magazine_lc" /></input>
          </p>
            <p><label>* Commentaires </label>
    	<textarea name="comment_lc" cols="30" id="comment_lc"></textarea>
            </p>
        </fieldset>
            </ol>
            <ol id="sub6">
    <fieldset class="fieldset-13"><legend>Please indicate your company's line of business</legend>
        <p>	
          <label>* Selectionner: </label>
          <select name="business_pneu" id="business_pneu">
            <option value="" selected="selected" name"select">Select</option>
            <option value="(1) Detaillant, Distributeur et Manufacturiers de Pneus">(1) Detaillant, Distributeur et Manufacturiers de Pneus</option>
            <option value="(2) Centre de Service et de Reparation Generale">(2) Centre de Service et de Reparation Generale</option>
            <option value="(3) Centre de Service et de Reparation Specialisee">(3) Centre de Service et de Reparation Specialisee</option>
            <option value="(4) Concession de Voitures et de Camions">(4) Concession de Voitures et de Camions</option>
            <option value="(5) Parc Automobile">(5) Parc Automobile</option>
            <option value="(6) Autre relies a l'industrie">(6) Autre relies a l'industrie</option>
            <option value="(7) Automotive training">(7) Automotive training</option>
            <option value="(8) Other allied to the Field">(4) Other allied to the Field"</option>
          </select>
          <input name="specify_pneu" type="text" id="specify_pneu" /></input>
        </p>
        </fieldset>    </br> 
        <fieldset class="fieldset-14"><legend>QUESTIONNAIRE</legend>
          <p>
          <label>* Nombre d'employés ? </label><select name="employees_pneu" id="employees_pneu">
            <option value="" selected="selected">Selectionner</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and more">11 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Nombre d'aires de service ? </label><select name="bays_pneu" id="bays_pneu">
            <option value="" selected="selected">Selectionner</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and more">11 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Quel est le % de vos ventes relié aux pneus ? </label><select name="ventes_pneu" id="ventes_pneu">
            <option value="" selected="selected">Selectionner</option>
            <option value="1-20%">1-20%</option>
            <option value="21-50%">21-50%</option>        
            <option value="51-100%">51-100%</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Quelle est la somme investie annuellement pour les outils et l'équipement ? </label><select name="equipment_pneu" id="equipment_pneu">
            <option value="" selected="selected">Selectionner</option>
            <option value="$0-5000">$0-5000</option>
            <option value="$5001-15 000">$5001-15 000</option>        
            <option value="$15 001 and over">$15 001 and over</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Combien de personnes ont accès à votre magazine ? </label><input name="magazine_pneu" type="text" id="magazine_pneu" /></input>
          </p>
            <p><label>* Comments </label>
    	<textarea name="comment_pneu" cols="30" id="comment_pneu"></textarea>
            </p>
        </fieldset>
            </ol>
            <ol id="sub7">
    <fieldset class="fieldset-15"><legend>Please indicate your company's line of business</legend>
        <p>	
          <label>* Please select: </label>
          <select name="business_cam" id="business_cam">
            <option value="" selected="selected" name"select">Selectionner</option>
            <option value="(1a) Parcs de véhicules, commerciaux et administratifs - Construction">(1a) Parcs de véhicules, commerciaux et administratifs - Construction</option>
            <option value="(1b) Parcs de véhicules, commerciaux et administratifs - Industries manufacturières et de transformation">(1b) Parcs de véhicules, commerciaux et administratifs - Industries manufacturières et de transformation</option>
            <option value="(1c) Parcs de véhicules, commerciaux et administratifs - Énergie et télécommunications">(1c) Parcs de véhicules, commerciaux et administratifs - Énergie et télécommunications</option>
            <option value="(1d) Parcs de véhicules, commerciaux et administratifs - Grossistes et vente au détail">(1d) Parcs de véhicules, commerciaux et administratifs - Grossistes et vente au détail</option>         
            <option value="(1e) Parcs de véhicules, commerciaux et administratifs - Transport de biens, entreposage et messagerie">(1e) Parcs de véhicules, commerciaux et administratifs - Transport de biens, entreposage et messagerie</option> 
            <option value="(1f) Parcs de véhicules, commerciaux et administratifs - Agriculture, forêts et mines">(1f) Parcs de véhicules, commerciaux et administratifs - Agriculture, forêts et mines</option> 
            <option value="(1g) Parcs de véhicules, commerciaux et administratifs - Service et consultation">(1g) Parcs de véhicules, commerciaux et administratifs - Service et consultation</option>
            <option value="(1g) Parcs de véhicules, commerciaux et administratifs - Autres (Preciser)">(1g) Parcs de véhicules, commerciaux et administratifs - Autres (Preciser)</option> 
            <option value="(2a) Gouvernement et services parapublics - Federal">(2a) Gouvernement et services parapublics - Federal</option>
            <option value="(2b) Gouvernement et services parapublics - Provincial">(2b) Gouvernement et services parapublics - Provincial</option>
            <option value="(2c) Gouvernement et services parapublics - Municipal">(2c) Gouvernement et services parapublics - Municipal</option>
            <option value="(2d) Gouvernement et services parapublics - Services parapublics">(2d) Gouvernement et services parapublics - Services parapublics</option>
            <option value="(3a) Crédit-bail et location - Crédit-bail à moyen et long terme">(3a) Crédit-bail et location - Crédit-bail à moyen et long terme</option>
            <option value="(3b) Crédit-bail et location - Location à court terme">(3b) Crédit-bail et location - Location à court terme</option>
            <option value="(4) Service et réparation pour parcs de véhicules">(4) Service et réparation pour parcs de véhicules</option>
            <option value="(5) Concessionaires automobiles et camions">(5) Concessionaires automobiles et camions</option>
            <option value="(6) Other allied to the Field">(6) Other allied to the Field"</option>
          </select>
          <input name="specify_cam" type="text" id="specify_cam" /></input>
        </p>
     
        </fieldset>    </br> 
        <fieldset class="fieldset-16"><legend>QUESTIONNAIRE</legend>
          <p>
          <label>* Nombre d'employés ?  </label><select name="employees_cam" id="employees_cam">
            <option value="" selected="selected">Select</option>
            <option value="1-3">1-3</option>
            <option value="4-10">4-10</option>        
            <option value="11 and more">11 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Nombre de véhicules de votre parc ? </label><select name="parc_cam" id="parc_cam">
            <option value="" selected="selected">Selectionner</option>
            <option value="0-5">0-5</option>
            <option value="6-20">6-20</option>        
            <option value="21 and more">21 et plus</option>
            <option value="N/A">N/A</option>
            </select></p>
          <p><label>* Pourcentage d'automobiles vs camions de votre parc ?</label>
            <label> </label><input name="truckvscar_cam" type="text" id="truckvscar_cam" /></input>
          </p>
          <p><label>* Pourcentage de véhicules de votre parc remplacés annuellement ?</label>
            <label> </label><input name="vehicule_cam" type="text" id="vehicule_cam" /></input>
          </p>        
          <p><label>* L'empreinte écologique est-elle importante pour l'entreprise ?  </label><select name="eco_cam" id="eco_cam">
            <option value="" selected="selected">Select</option>
            <option value="Pas important">Pas importantt</option>
            <option value="quelque peu important">quelque peu important</option>        
            <option value="tres important">tres important</option>
            </select>      <p><label>* Combien de personnes ont accès à votre magazine ? </label><input name="magazine_cam" type="text" id="magazine_cam" /></input>
            </p>
            <p><label>* Comments </label>
    	<textarea name="comment_cam" cols="30" id="comment_cam"></textarea>
            </p>
        </fieldset>
            </ol>
            <ol id="sub8">
    <div align="center">  <input type="submit" name="Submit"  value="send" onclick="javascript:checkall('Contact','choix',false)"/>
        <input type="reset" name="Submit"  value="reset"/> </div>
            </ol>
     
    </form>
    <script language="JavaScript" type="text/javascript">
    toggleDisplay(false, 'sub1', 'sub2', 'sub3','sub4', 'sub5', 'sub6','sub7', 'sub8');
    toggleDisplay(true, 'toggleAll');
    </script>
    Merci de votre aide

    Fred

  5. #5
    Membre actif
    Homme Profil pro
    Webmaster Pays Basque
    Inscrit en
    Avril 2004
    Messages
    207
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 52
    Localisation : France

    Informations professionnelles :
    Activité : Webmaster Pays Basque
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2004
    Messages : 207
    Points : 238
    Points
    238
    Par défaut
    Ré-essayes en traitant le request ou en entier long ou en string

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    select case clng(request.form("choix"))
    case 1....
    ou

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    select case cstr(request.form("choix"))
    case "1"....
    ça devait marcher, y a pas de raison

  6. #6
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    47
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Mai 2007
    Messages : 47
    Points : 32
    Points
    32
    Par défaut
    Ça marche, merci beaucoup.

    Fred

  7. #7
    Membre actif
    Homme Profil pro
    Webmaster Pays Basque
    Inscrit en
    Avril 2004
    Messages
    207
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 52
    Localisation : France

    Informations professionnelles :
    Activité : Webmaster Pays Basque
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2004
    Messages : 207
    Points : 238
    Points
    238
    Par défaut
    Super! n'oublie de fermer le post!!
    @+

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

Discussions similaires

  1. Caption sur plusieurs lignes d'un radio bouton
    Par futneguet dans le forum C++Builder
    Réponses: 3
    Dernier message: 16/05/2007, 22h26
  2. [VBA-E]Radios boutons dans formulaire
    Par illight dans le forum Macros et VBA Excel
    Réponses: 2
    Dernier message: 08/02/2007, 14h33
  3. Formulaire dynamique et bouton radio
    Par Analfabete dans le forum Général JavaScript
    Réponses: 4
    Dernier message: 05/01/2007, 20h56
  4. Réponses: 3
    Dernier message: 09/08/2006, 08h25
  5. formulaire à plusieurs boutons
    Par sissi25 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 8
    Dernier message: 25/07/2006, 09h54

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