• Resolved romainfavraud

    (@romainfavraud)


    Hi,

    I have a problem with placeholders who don’t display. I have read many of forums who explain many different things but i swear that i respected the right writing. Plus, i tried the exact code (form setting + css) and it works completely on a another site with same theme (Salient). I tried to remove my ID and CLASS on divs, i tried to pub it as attribute in shortcode [text text-nom id:divField class:class-test placeholder "Nom Prénom"], but nothing’s works. It could come from my host configuration or something ?

    Here’s my code in CF7 :

    <div id=”page”>

    <div id=”text” class=”InsideContent”>Hello, je suis</div>
    <div id=”field” class=”InsideContent”>[text text-nom placeholder "Nom Prénom"]</div>
    <div id=”text” class=”InsideContent”>et je représente la société</div>
    <div id=”field” class=”InsideContent”>[text text-societe placeholder "XXX"]</div>
    <div id=”text” class=”InsideContent”>qui vend des produits</div>
    <div id=”field” class=”InsideContent”>[select* menu-produits “hygiène & cosmétique” “habillement” “alimentaire” “Autres”]</div>
    <div id=”text” class=”InsideContent”>. J’aimerais devenir ravitailleur chez Ecopresto et vendre</div>
    <div id=”field” class=”InsideContent”>[select* menu-quantite “en flux tendu” “en gros” “les deux”]</div>
    <div id=”text” class=”InsideContent”>. J’ai </div>
    <div id=”field” class=”InsideContent”>[number references placeholder “1000”]</div>
    <div id=”text” class=”InsideContent”>références. Vous pouvez me contactez par </div>
    <div id=”field” class=”InsideContent”>[email email “e-mail”]</div>
    <div id=”text” class=”InsideContent”>ou par</div>
    <div id=”field” class=”InsideContent”>[tel numero placeholder “téléphone”]</div>
    <div id=”text” class=”InsideContent”>afin de discuter ensemble de mes besoins.</div>

    </div>
    [submit “Envoyer”]

    Here’s my CSS code :

    #page {
    max-width:100%;
    margin: 0px auto -1px auto;
    padding: 15px;
    }

    .InsideContent{
    display:inline-block;
    padding-bottom:20px;
    }

    #text {
    width:fit-content;
    }

    #field {
    width: 200px;
    }

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    I’ve just checked the site. Placeholders are working correctly.

    Thread Starter romainfavraud

    (@romainfavraud)

    Hi,

    Thanks for your fast answer! And congratulations for CF7 btw !

    What’s wrong with me? I’ve just checked on Safari, Chrome, Firefox and Chrome on iPhone and i Can’t see placeholders…

    The only thing i see is the email field which isn’t a placeholder but a pre-write text. It doen’t disappear when you click on.

    The fields are supposed to contain all placeholders. The first one for example is supposed to be ??Nom Prénom??.. Could you really see it ?

    Thanks si much for your time

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Placeholder doesn’t appear anyway’ is closed to new replies.