Please Note: We are no longer using forums to facilitate standard support. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

A form in post body?

  1. Hey i need some help getting a form inside the post body?
    Want the vistor to type the company name in the title and the fill in a form in the post body,
    -
    Name
    Adress
    Telefon
    Website
    -
    So i just can post in on my site. So if anyone have an idee how i can do this i would really happy.

    Posted 5 years ago on Sunday February 28, 2010 | Permalink
  2. Just so I am clear, you have a form that creates a post and you want to combine the values of several fields and then output them in the post body of the post that is created?

    Posted 5 years ago on Monday March 1, 2010 | Permalink
  3. Yes!

    So a company can fill in the company name in the title
    And then fill in name, adress,phone, and website in the post body.
    and then a little description of the company in the excerpt
    Then submit this so a post is created, In my wordpress site.

    In short i need help with:
    how i can make the post body to a be like a regular form that the vistor can fill in.

    Posted 5 years ago on Monday March 1, 2010 | Permalink
  4. The Post Body is already a regular form field that people can fill in, however it is only one field and does not consist of multiple fields.

    In order to combine multiple fields into the Post Body what you would have to do is use PHP and the pre-process form hook to combine the fields and populate the Post Body. This would require some PHP knowledge to pull off.

    How familiar with PHP are you?

    Posted 5 years ago on Monday March 1, 2010 | Permalink
  5. Okej, i some want familar with php, have used wordpress to build homepages for a year now. That requires some knowlage of php and html, but im a still a noob i think.

    I would like to give it a try, with your help. Becouse we really need this function.

    Posted 5 years ago on Monday March 1, 2010 | Permalink
  6. Also looking to do something similar. I have similar fields (company name, company address etc) and have created a form using the post fields options. I want users to submit the form and after moderation approval, the data from this from gets posted to the site. So I have used the Title field and renamed it to company and then used Custom Field to capture other information I want to be displayed within the post (address, website etc). I have embedded this form on a page but when I fill it out and submit it, it goes to moderation which is fine. Once I approve the post only the Title field (renamed to Company Name) actually shows up in the post. The other Custom Fields don't show up in my post.

    I don't have a lot of PHP knowledge but I do have access to someone who does. Can someone describe what needs to be done or point me in the right direction?

    Posted 4 years ago on Thursday April 28, 2011 | Permalink
  7. Hi. I also need to do this. I just purchased and installed the product tonight and created a form with many different fields. I need to combine them to create a post, but I am not seeing how to do it. Are there not instructions for this on the site. I had so hoped to find a program that would allow me to easily create a post template using the fields from the form.

    I don't know a lot of PHP except to copy and paste snippets of code that I need, but I'm a quick study.

    I already have the free Contact Form 7 but purchased Gravity Forms tonight because from the description, it sounded like I'd easily be able to create posts. Please help.

    Posted 4 years ago on Thursday April 28, 2011 | Permalink
  8. Disregard my last comment. I figured it out.

    Posted 4 years ago on Thursday April 28, 2011 | Permalink
  9. Bethfly, how did you figure it out? I'd like to do exactly what you outlined.

    Posted 4 years ago on Thursday April 28, 2011 | Permalink
  10. Hi. Not in front of computer so I hope I remember this correctly -- from the list of Post fields, choose Body. Edit the Body field. Inside you will find Content Template or something like that. Check the box, and you will be able to select fields you have created already and arrange them in the body of your post.

    Posted 4 years ago on Friday April 29, 2011 | Permalink
  11. Anyone able to help with how to use a form to create posts? Anyone at all?

    Posted 4 years ago on Friday April 29, 2011 | Permalink
  12. Documentation is available for the post fields. You can find that here.

    http://www.gravityhelp.com/documentation/page/Form_Fields#Post_Fields

    Posted 4 years ago on Friday April 29, 2011 | Permalink
  13. One way would be to add the Custom Fields section for each section, then use php to bring those into the post.

    Posted 4 years ago on Friday April 29, 2011 | Permalink

 

Support Tickets

Open A New Support Ticket
 Open A New Priority Support Ticket *

* Developer license holders only