• Resolved kwent

    (@kwent)


    Hi!

    The conditionnal forms doesn’t work, in the form just before the footer.
    When chosing an option from the field “Votre demande concerne *” should display an other field, but it doesn’t.

    Here is the form code

    <div class="clearfix">
    
    <div class="col-sm-6">
            <span style="color: #ffffff;"><label>Vous êtes * :</label></span>
            [select*   who id:who class:cs-select include_blank "Architecte, Ma?tre d’Oeuvre" "Syndic copropriété" "Copropriétaire" "Propriétaire d’immeubles institutionnel" "Ma?tre d’Ouvrage Public ou assimilé" "Industriel" "Entreprise de BTP" "Particulier"]
        <p></p>
        </div>
    <div class="col-sm-6">
            <span style="color: #ffffff;"><label>Votre demande concerne * :</label></span>
            [select* demande_concerne id:demande_concerne class:cs-select include_blank "Bureau d'étude" "Canalisation et infrastructure" "Renforcement structures" "Travaux spéciaux"]
        <p></p> 
        </div>
    
    <div class="col-sm-6">
    
    [group bu]
    <div class="bureau"> <span style="color: #ffffff;"><label>Typologie de travaux à effectuer * :</label></span>
    [select bureau id:bureau class:cs-select include_blank "Diagnostic structure" "Ma?trise d'oeuvre structure" "Calcul structure béton" "Calcul structure bois" "Calcul structure métal" "Calcul fibre de carbone"] </div>
    [/group]
    
    [group can]
    <div class="canalisation"><span style="color: #ffffff;"><label>Typologie de travaux à effectuer * :</label></span>[select canalisation id:canalisation class:cs-select include_blank "Investigation réseaux" "Travaux sur réseaux d'assainissement" "Chemisages" "Réseaux de chauffage enterrés" "VRD, Pavages" "Reprise en sous-oeuvre" "Mise en conformité"]</div>
    [/group]
    
    [group renf]
    <div class="renforcement"><span style="color: #ffffff;"><label>Typologie de travaux à effectuer * :</label></span>[select renforcement id:renforcement class:cs-select include_blank "Etaiement" "Réparation et modification de structures" "Ouvertures de murs porteurs, trémies" "Renforcement planchers de caves" "Consolidation fondations"]</div>
    [/group]
    
    [group trav]
    <div class="travaux">  <span style="color: #ffffff;"><label>Typologie de travaux à effectuer * :</label></span>[select travaux id:travaux class:cs-select include_blank "Consolidation ouvrages béton" "Etanchement ouvrages béton" "Fibres de carbone" "Traitement fissures béton" "Etanchéité et structures parkings"]</div>
    [/group]
    <p></p>
    </div>
    <div class="col-sm-6">
         <span style="color: #ffffff;"><label>Degré d’urgence * :</label></span>
            [select* urgence id:urgence class:cs-select include_blank "Une semaine" "1 mois" "Plus de 3 mois"]
    <p></p>
    </div>
       <div class="col-sm-12"><span style="color: #ffffff;"><label>Vos coordonnées :</label></span></div>
    <div class="col-sm-6">
            <p>[text* first_name id:first_name placeholder "Prénom*"]</p>
        </div>
      <div class="col-sm-6">
          <p>[text* last_name id:last_name placeholder "Nom*"]</p>
        </div>
     <div class="col-sm-6">
            <p>[email* your-email id:your-email placeholder "Email*"]</p>
        </div>
        <div class="col-sm-6">
            <p>[tel* phone id:phone placeholder "Téléphone*"]</p>
        </div>
    <div class="col-sm-12"><span style="color: #ffffff;"><label>L'adresse du chantier :</label></span></div>
    <div class="col-sm-6">
    [countrytext* country id:country "France"]
    <p></p>
    </div>
    <div class="col-sm-12">
            <p>[text* adresse id:adresse placeholder "Adresse*"]</p>
        </div>
     <div class="col-sm-6">
            <p>[text* city id:city placeholder "Ville*"]</p>
        </div>
     <div class="col-sm-6">
            <p>[text* zip id:zip placeholder "Code postal*"]</p>
        </div>
           <div class="col-sm-12">
          [textarea your-message placeholder "Votre message"]
        </div>
    
    <div class="clearfix">
        <div class="col-sm-4">
            <span style="color: #ffffff;">* Champs obligatoires</span>
        </div>
    </div>
    </div>
    
    
    
    
    <div style="text-align:center;">
        [dynamichidden oid "00D58000000Jm16"]
        [dynamichidden retURL "https://gcbtp.fr/"]
        [dynamichidden debug "1"]
        [dynamichidden lead_source "Internet (site GCBTP.fr)"]
        [submit class:btn class:right "Valider"]
    </div>
    <div class="clearfix">
        <div class="col-sm-12">
            [response]
        </div>
    </div>

    And the conditions:

    show [bu] if [demande_concerne] equals "Bureau d'étude"
    show [can] if [demande_concerne] equals "Canalisation et infrastructure"
    show [renf] if [demande_concerne] equals "Renforcement structures"
    show [trav] if [demande_concerne] equals "Travaux spéciaux"

    Can someone help me?

    Thanks!

    Quentin

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not Showing options once choosing from dropdown’ is closed to new replies.