diff --git a/app/Views/leads_form_handler.php b/app/Views/leads_form_handler.php index 01960410..93d6440c 100644 --- a/app/Views/leads_form_handler.php +++ b/app/Views/leads_form_handler.php @@ -604,7 +604,8 @@ if (isset($selected_lead_type)) { let isFirstField = container.childElementCount === 0; // Check if it's the first field let placeholder = isFirstField ? 'First file must be Demography.' : ''; - let accept = isFirstField ? '.xls,.xlsx' : ''; + let accept = isFirstField ? '.xls,.xlsx' : '.xls,.xlsx,.pdf,.jpg,.jpeg,.png'; + let accept_text = isFirstField ? 'First file: Excel only (.xls, .xlsx)' : 'Files: PDF, Excel (.xlsx, .xls), Images (.png, .jpg, .jpeg)'; if(selected_lead_form_type != 1){ @@ -640,12 +641,12 @@ if (isset($selected_lead_type)) {