i am using this hook frm_after_create_entry
the docs show you how to get the field data
$_POST['item_meta']
but how does one get the field label for that meta item?
IE: my field label is "How to contact"
the item meta is email, phone
I can get email and phone, i am after "How to contact"
i tried FrmField::get_key_by_id but it returns the key name
returned the field description not the actual label text
Ah yes, how about return $field_info->name; ?
Reference: https://formidableforms.com/knowledgebase/database-schema/
Score!
Please login or Register to submit your answer