Get username that submitted a form in wp contact form 7?

Viewed 39

how can I get the username that submitted a form created with contact form 7? I know there I can set it as default and hide it, but then users can change it and submit it of course (I need it to be uneditable).

So is there any way I can get in Flamingo plugin the username of the person who submitted the form? Or any suggestion?

I created the form with the plugin editor, so I create the fields like this:

<p> Username
    [text* your-name default:user_login] </p>

<label> Email
    [email* your-email] </label>

<label> Passaport
    [text* your-subject] </label>

And then I use the shortcode to insert the form:

[contact-form-7 id="127" title="Formulario de contacto 1"]

But by getting the username by this mean, it can be of course edited by the user.

0 Answers
Related