Save custom data to entry meta in MySQL [RESOLVED]

Hi! I have some custom data I’m programatically showing using the GF_Fields::create function as HTML field on the frontend. However, HTML fields do not get saved inside entry meta in MySQL. What would be the right approach to save this data in the database? Is there any hook or filter I could use to save it in the gf_entry_meta table under the specific entry ID?

Thanks for any help.

Okay, so I ended up using another function, where I load the same meta data and save them using the gform_after_submission hook. Here’s a link to the tutorial.

Thanks for sharing that. I’m glad you found a solution.