<!-- start Simple Custom CSS and JS -->
<script type="text/javascript">
// Get the form element
const form = document.getElementById('forminator-module-807');

// Get the submit button
const submitButton = document.getElementById('submit-button');

// Add event listener for form submission
form.addEventListener('submit', function(event) {
    // Prevent default form submission
    event.preventDefault();

    // Simulate form submission
    // Replace this with your actual form submission logic
    // For example, using AJAX to submit the form data

    // Display the popup message
    document.getElementById('popup-container').style.display = 'block';
});

// Optionally, you can hide the popup when the submit button is clicked again
submitButton.addEventListener('click', function() {
    document.getElementById('popup-container').style.display = 'none';
});
</script>
<!-- end Simple Custom CSS and JS -->
