Support » Plugin: Contact Form 7 » Form Name

  • Resolved antaspen


    Sorry for my english, i’m french 😉
    I would like to know if it’s possible to add a form name when i create a form with Contact Form 7?
    For example, i have this code in my form :
    <form action=”###” method=”post” class=”wpcf7-form”>
    And i just want to add somehting like that : “<form name=”form_1″ action=”###” method=”post” class=”wpcf7-form”>

    Can you tell me if it’s possible?


Viewing 6 replies - 1 through 6 (of 6 total)
  • Antoine,

    When you create a new form (Dashboard>Contact>Add New), at the top of the screen, you will see Untitled in bold. Enter the name you want and continue designing the form.

    If you want change the name of a existing form to something more meaningful to you, click Contact and Edit under the form in question. The form will enter in design mode. At the top of the screen, you will see something like this ‘[contact-form-7 id=”451″ title=”Event-Activity Form”]’ with a brown background. Simply click on the text following the ‘title=’ and enter the name you want.

    Make sure you click the Save button.

    Thx davejampole for your answer.
    But there is still a problem when i look my form…
    It’s still <form action=”###” method=”post” class=”wpcf7-form”> without a name attribut…

    I would like to give a name at this form in the html page… I don’t know i you understand? 🙂 (Really sorry…)


    You are looking at the html code of the form. That is NOT where you change the form name. You need to change from the WordPress dashboard as I indicated above.

    Yes i know, but i’m looking in the html code to see if the Form Name appear. But it’s not. And i need to get a name on the html code after to use this name…

    Ok, that’s fine, i did it manually in the code of classes.php 😉 Thx!

    Plugin Author Takayuki Miyoshi


    antaspen, so you want to edit the name attribute of the form element, right? Contact Form 7 doesn’t provide a setting for that, but could you tell me the reason why you need to edit it? What do you use it for?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Form Name’ is closed to new replies.