Problem:
How can we save data from a generic field to any post field or post title/body, when submitting a Toolset Forms?
Solution:
There is a full explanation here https://toolset.com/forums/topic/saving-value-from-standard-generic-form-field-to-a-custom-field-in-cpt/#post-1489201, in short, you'd use cred_save_data() to get the values from the $_POST['form-field-slug'] and update_post_meta() that value to the Post meta you want to udpate, or of course, update anything else with the WordPress API in the post.
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 |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by 4 years, 9 months ago.
Assisted by: Beda.