<script>
// Add this script to validate image uploads
document.getElementById(”submit_property_form”).addEventListener(”submit”, function(event) {
var uploadedImages = document.querySelectorAll(’#houzez_property_gallery_container .property-thumb’);
var requiredCount = 5; // Change this to the required count
// Show or hide the error message based on the count
if (uploadedImages.length < requiredCount) {
event.preventDefault(); // Prevent form submission
document.querySelector(’.validate-errors-gal’).classList.remove(’houzez-hidden’); // Show error message
} else {
document.querySelector(’.validate-errors-gal’).classList.add(’houzez-hidden’); // Hide error message
}
});
</script>
Fill out the form below to request a call:
Fill out the form below to start a conversation:
Elevate Your Lifestyle with More Homes
Compare listings
ComparePlease enter your username or email address. You will receive a link to create a new password via email.
Fill out the form below to request a call:
Fill out the form below to start a conversation: