[ad_1]
Hi @mairaforesto,
Thanks for providing detailed information about the problem you are having.
You can either make your File Upload field required, or, in the PDF template, you can check the file upload value is not empty before trying to output it:
if ( ! empty( $form_data['field']['Logotipo']['url'] ) ) {
//output your file here
} else {
//output something when no file uploaded
}All the best with your project. 👍
-
This reply was modified 24 seconds ago by
Jake Jackson. Reason: fix sentance structure so it is not ambiguous
