I have a form with a field to upload multiple files and after submission I want the file download links to appear on another page.
I found a website to 'Output custom field values using PHP' and from that I've tried:
<?php the_job_field( 'candidate_certificates' ); ?>
This outputted the file field values on the page but the file links weren't clickable to download.
And <?php $fields = get_job_field( 'candidate_certificates' ); echo $fields; ?>
but this just outputs "array" on the page.
add_filter( 'resume_manager_resume_fields', 'wpjms_admin_resume_form_fields' );
function wpjms_admin_resume_form_fields( $fields ) {
$fields['_candidate_certificates'] = array(
'label' => __( 'Upload Certificates', 'job_manager' ),
'type' => 'file',
'multiple'=> 'multiple',
'placeholder' => __( 'Upload Certificates', 'job_manager' ),
'description' => '',
'priority' => 6
);
I expect the uploaded files from the form field to show on other pages with the file download link that can be clicked to download the file.