New Landing How can we help? Themeforest Theme Support Dante Contact form 7 put the text imput

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #103752
    Juanma
    Member
    Post count: 27

    Hello!

    My contact form 7 works correctly, but I would like to put the help text indide the boxes, I think is called “imput” or “placeholder”, like in Dante demo.

    How could I do?

    Thanks
    -Juanma

    #103921
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    To achieve something like this.
    https://www.dropbox.com/s/n8itluxplzzjfxr/contact_form_placeholder.png?dl=0

    Add the placeholder parameter to the input text(placeholder=”Please enter your name”)

    The final html should be similar to this:

    <input type="text" placeholder="Please enter your name" name="your-name" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" aria-invalid="false">
    

    -Rui

    #104054
    Juanma
    Member
    Post count: 27

    Ok!, But could you show me where should I put this code? Inside Contact form 7?
    I don´t know so much about html!

    #104073
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    How do you inserted the Contact form 7? Was a shortcode or Html?

    -Rui

    #104095
    Juanma
    Member
    Post count: 27

    I made it with shortcode

    #104097
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Inside the contact 7 form, the code should be something like this. Example for the name

    <p>Your Name (required)<br />
        [text* your-name placeholder "Your name here"] </p>
    

    -Rui

    #104110
    Juanma
    Member
    Post count: 27

    Perfect! Thank you very much!!!!

    #104111
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Glad it’s solved. 🙂
    -Rui

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register