Get entries for select Fields
-
Hi!
I cannot find any information concerning the extraction of values from select entries. If I have a simple form with a field “training” (as slug) and the form type is “simple text”, this piece of program gets me the entry:
$form_id = $atts[‘form_id’];//get all entires (page 1 with 9999999 entries per page should do it:)
$data = Caldera_Forms_Admin::get_entries( $form_id, 1, 9999999 );
$entires = $data[ ‘entries’ ];
if (count($entires) > 0) {foreach ($entires as $key => $value) {
$name = $value[‘data’][‘training’];
}
}How do I get the entry (label) if my field is a dropdown entry, checkbox or radio button?
Thank you for your help!
Regards
The topic ‘Get entries for select Fields’ is closed to new replies.