ID; $entries = Alchemyst_Forms_Entries::get_entries($form_id); $field_names = Alchemyst_Form::get_field_names_by_id($form_id); $entry_view_settings = Alchemyst_Form::get_entry_view_settings($form_id); $dom = Alchemyst_Form::get_dom($form_id); foreach ($field_names as $field_name) { $columns[Alchemyst_Forms_Utils::slugify($field_name)] = ucwords($field_name); if (!in_array($field_name, $entry_view_settings['field-order'])) { $entry_view_settings['field-order'][] = $field_name; } } $field_types = array(); foreach ($entry_view_settings['field-order'] as $key => $field_name) { if (!in_array($field_name, $field_names)) { unset($entry_view_settings['field-order'][$key]); } $field_types[$key] = Alchemyst_Form::get_field_type($field_name, $dom); } $encrypted_fields = Alchemyst_Form::get_encrypted_fields($form_id, $dom); ?>
Missing data from a removed field?
Columns are determined based on what is currently available in your form. If you have removed a field that previous entries may have used and you would like to see this data again in the entries table, you can add a hidden field containing the old name attribute to your form. Otherwise you will be able to view the full entry details for this form at the time of submission by clicking on View Entry when hovering over that entries row.
license_is_valid()) : ?> Export Entries From This Form Bulk Delete Entries From This Form
| ID | Entry Created Time | =Alchemyst_Forms_Utils::unslugify($field_name)?> |
|---|---|---|
| =$entry->ID?> | =date('g:i:s a, ' . get_option('date_format'), strtotime($entry->post->post_date))?> | $field_name) : if ($field_name == "_af-entry-id" || $field_name == "_af-entry-created-date") continue; $v = $entry->get_value($field_name); $field_type = $field_types[$key]; $v = Alchemyst_Forms_Entries::parse_value($v, $field_type, $field_name, $form_id, $dom, $entry, in_array($field_name, $encrypted_fields), true); ?>=$v?> |