Renders the fields for each submission value.
Description
See also
Source
File: src/db-objects/submissions/submission-edit-page.php
public function render_submission_value_fields() { $submission = $this->model; $form = $this->model_manager->get_parent_manager( 'forms' )->get( $this->model->form_id ); var_dump( $form->id ); foreach ( $form->get_containers() as $container ) { ?> <h3><?php echo esc_html( $container->label ); ?></h3> <table class="form-table"> <tbody> <?php foreach ( $container->get_elements() as $element ) : ?> <?php ?> <?php endforeach; ?> </tbody> </table> <?php } }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |