Skip to:
Content
Pages
Categories
Search
Top
Bottom

Contact Form using Logged in information

  • Avatar of Adamwiththehair
    adamwiththehair
    Participant

    @adamwiththehair

    Hi all

    Looking even better every day I come here!

    Just a quick question. I want to have a section on my site using a contact form that sends information to my email address. At the moment, I have it set up just using Contact Form 7 plugin for WordPress. The problem is that this contact form requires the user to enter their name / email address etc and then send the form. Is there any way that I can just have a text area for contact text, and then the email is sent using the information of the person that is logged in?

    Simply, when a user is logged in, they can type a title of their question, and then the text. I then receive an email saying, “User1 (email address) has asked a question!”.

    Hope that makes sense.

    Adam

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of Enlightenmental1
    enlightenmental1
    Participant

    @enlightenmental1

    I have achieved something similar…

    I added a report a member/contact link

    which takes them to a custom page template that gathers all their information:

    - username

    - name

    - email

    etc

    this information then gets placed in hidden input fields… when they submit the contact form, I get their message and all their information (they dont even know I get their name, email etc)

    I am not using a wp plugin for the contact form, just some php

    that is one way of doing it

    Avatar of Adamwiththehair
    adamwiththehair
    Participant

    @adamwiththehair

    sounds like what I am looking for! would you mind going through how you did it?

    Avatar of Adamwiththehair
    adamwiththehair
    Participant

    @adamwiththehair

    sorry, i hate bumping, i know, but i rly need an answer to this!!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.