Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a simple form that users will fill out which will in turn become a post on my site. I have 2 problems:

  1. I am using the Post title, Post Custom Field elements (for single line text) and Post Body element (for paragraph text). When I submit my test form though, only the title is appearing, none of the data I wrote in the custom field elements.

  2. Is there a setting I can use to have the title of fields show up in my post? (i.e, Name field would actually show "Name: Whatever the user typed in" on the post?) When I was able to get one of the body fields to appear on the post, it only had the information I typed in, not the title.

Maybe I am not using the post fields correctly, so any direction/opinions would help!

Thanks

share|improve this question

closed as off-topic by birgire, Pieter Goosen, Johannes Pille, mrwweb, ialocin Sep 5 at 11:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – birgire, Pieter Goosen, Johannes Pille, mrwweb, ialocin
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Hold tight, Craigy - I have an answer that may be of help. –  Jonathan Wold Feb 27 '12 at 4:14

2 Answers 2

up vote 0 down vote accepted

I put together a video for you showing you how to use the content template in Gravity Forms, which is the key to formatting content within the post body.

Take a look here: http://www.screenr.com/sYT8

If you find yourself needing to do more advanced work, then you'll probably want to investigate setting up a custom template and pulling in the data from the custom fields directly into the template.

As for question #1, it sounds like the field might not be properly configured. Can you post a screenshot or video of the settings?

share|improve this answer
    
Wow! Thanks so much for the video -- my problem was solved! Really, thank you so much for the time it took to make that video. –  Craigy Feb 27 '12 at 14:28
    
You are welcome! Very happy I could help! –  Jonathan Wold Feb 27 '12 at 20:38

When submitting a form, I would use custom field names. WordPress uses "name" and various other things, probably title, so the form will not work properly. So just put some special characters before the form names and you should be good.

share|improve this answer
    
Thanks. I'm not sure I completely get what you're saying. Do I need to use special characters in the form fields or in the titles of the form fields? –  Craigy Feb 27 '12 at 1:48

Not the answer you're looking for? Browse other questions tagged or ask your own question.