} else if (lostPerson === 'mother') {
                document.getElementById('mother-details').style.display = 'block';
            } else if (lostPerson === 'child') {
                document.getElementById('child-details').style.display = 'block';
            } else if (lostPerson === 'partner') {
                document.getElementById('partner-details').style.display = 'block';
            }
        }

        /**
         * Hides all the lost person details.
         * This function sets the display 