Quantcast
Viewing all articles
Browse latest Browse all 20145

Saving Generic CRED Form Field to Custom Post

I have followed the directions on this page to create a dropdown of locations (using the location custom post type titles) on a cred form used to create events.

https://wp-types.com/forums/topic/create-select-list-of-certain-custom-post-titles/

My code to display this field is:

[cred_generic_field field="teste" type="select" class="" urlparam=""]
{
"required":0,
"validate_format":0,
"persist":1,
"default":[],
"options":[ [wpv-view name="All Location List for Forms"] ]
}
[/cred_generic_field]

What I need help with is how to process the selected dropdown item into a field within the event custom post type. I have an idea that I might need to use the following, but maybe there is another easier way:

http://wp-types.com/documentation/user-guides/cred-api/#csd

Thank you!


Viewing all articles
Browse latest Browse all 20145

Trending Articles