Skip Navigation

[Resolved] Save CRED generic field value to custom field

This support ticket is created 5 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 1 voice.

Last updated by Amin 5 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#1283497

I have a CRED form with a generic field.

I want to save the value of the generic field to the database in a custom field of the custom post type.

There used to be a "persist" option, but I see that it's been removed. Is there another way to do this?

#1283501

My issue is resolved now. Thank you!

I tried the "persist":1 option and added wpcf- to the custom field name and it works:

[cred_generic_field type='select' field='wpcf-lo-user-id']
{
"required":0,
"options":[ [wpv-view name="list-of-lo"] ],
"persist":1
}
[/cred_generic_field]