Wordpress contact form plugin?

8 replies
Hello

I am looking for a WP contact form plugin or widget that would NOT act as a generic contact form for the site, rather be specific to individual pages, embedded into the page (so to speak) so that every time the form is submitted, I also get the URL or some preset detail to identify the page where it has been submitted from

Any suggestion most welcome!

Marco
#contact #form #plugin #wordpress
  • {{ DiscussionBoard.errors[2821174].message }}
    • Profile picture of the author Brandon Tanner
      You could use any generic form for this, then just add a "hidden" field inside the <form> tags. Then just make sure the hidden name and value is different on each page.

      For example, on your "home" page you would add the code that's in red inside the <form> tags...

      <form>
      <label>Name:</label><input type="text" />
      <input type="hidden" name="hidden_home" value="Home" />

      <br />
      <input type="submit" value="Submit" />
      </form>

      Then if you have a page called "Contact", you would do something like this...

      <form>
      <label>Name:</label><input type="text" />
      <input type="hidden" name="hidden_contact" value="Contact" />

      <br />
      <input type="submit" value="Submit" />
      </form>

      Etc etc.

      Whenever someone submits the form, the "hidden" value will not be visible to them, but it will still be passed along to you.

      Make sense?
      Signature

      {{ DiscussionBoard.errors[2821363].message }}
    • Profile picture of the author marcolav
      Originally Posted by taylormarek View Post

      This should help:

      WordPress › Contact Form 7 « WordPress Plugins

      Let me know if that works for you.
      Thanks but that seems to create a 'sitewide' contact form, which is not what I am after, as I said I need a form that I can embed in each page and will also forward the URL of the page where it was submitted from

      Thanks

      Marco
      {{ DiscussionBoard.errors[2821369].message }}
  • Profile picture of the author taylormarek
    You can create multiple contact form boxes though with the plugin, just fyi.
    {{ DiscussionBoard.errors[2824312].message }}
  • Profile picture of the author clouds
    hi

    there are a number of contact forms tools that you can use on Wordpress. the trick is to use one that will allow you to have hidden fields

    you would then...
    create a form that you would want to use on the page
    Say... email, firstname and a hidden field called "source" (or whatever)
    you can then set a default value into the source field. - this would for example be a reference to the offer on the page or the page itself
    then "rinse and repeat" for each page.... ie copy the form many times and change the default value of the hidden field

    that would capture the data you want and give you a reference to where the data came from

    contact form 7 would be fine and would do the trick.

    cheers
    C
    {{ DiscussionBoard.errors[2850054].message }}
  • Profile picture of the author deepakg
    Hi Clouds,

    I am also agree with you there are so many other wordpress plugin for contact form but me also suggest to all to use contact form 7 that is easy to use and easy to add on wordpress web pages.
    {{ DiscussionBoard.errors[2852595].message }}
  • Profile picture of the author ltrain_riders
    I use Clean-Contact on my sites and it works great.
    {{ DiscussionBoard.errors[2860920].message }}
  • Profile picture of the author silverf0x
    contact form 7 is plugin. In your case, you need to modify a form. it's possible to have many form and u can set where the form will be shown
    {{ DiscussionBoard.errors[2862792].message }}

Trending Topics