Hi Chris,
I am not sure I completely understand the question.
I am using a gravity form to create a post with the custom field, most of the other fields are populated dynamically like the title, category and content and I have those fields hidden from the user by checking the admin only box under advanced settings for those fields. When I submit the form it creates a published post with all the correct data with the exception of this custom field which adds on the form name with no help from me as far as I can tell. The title of my form is 'Video Application' which is the text that is being added to the value.
Here are the basic settings for the form field:
http://cl.ly/1V0o2L3d423V2h210O1b
And the advanced:
http://cl.ly/063v0O3W0g43090g3u38
Here is a larger screenshot of the edit post page that is being created by the gravity forms:
http://cl.ly/2s1y2a311T1k0T0t052Y
Form Title
Video Application
The hidden fields all working correctly:
Post Title - Set to currently logged in user's name.
Post Category - Set to predefined category
Post Body - Set to publish the post with predefined text.
URL Field as custom field, collects data correctly, but for some reason when populating the custom form field section of the published post it passes on the Form Name along with the value of the URL field as seen in my previous screenshot.
Sorry if this is too much information or I misunderstood your question. I am not having any issues grabbing or displaying any of the data I am collecting, but for some reason the correct data isn't being passed to the post.
Thanks,
Lori
Posted 12 years ago on Saturday October 22, 2011 |
Permalink