join-name');

            // Function to reset the fields
            function resetFields() {
                // Reset the recipient name input
                recipientNameInput.value = '';

                // Reset the type name select
                typeNameSelect.value = 'Open this select menu';

                // Reset the join name input
                joinNameInput.value = '';

                // Reset the file list and PDF preview
                const fileListContainer = document.getElementById