Submit a Review

Share your experience and help other guests make informed decisions

Select a rating
0 / 2000 characters (minimum 20 characters)
Your review will be published after moderation. We appreciate your feedback!
Cancel
A1 Apartments Aruba - Comfortable B&B Experience in Aruba
below). const recaptchaSiteKey = "6Ldq-YctAAAAAB2jAlPOq8j9u3pyEUhxEh-KZ6hb"; let recaptchaDone = false; $('#reviewForm').on('submit', function(e) { const rating = $('input[name="rating"]:checked').length; const reviewText = $('#review_text').val(); if (!rating) { e.preventDefault(); alert('Please select a rating'); return false; } if (reviewText.length < 20) { e.preventDefault(); alert('Please write at least 20 characters for your review'); return false; } // reCAPTCHA v3: fetch a fresh token, drop it in the hidden field, // then resubmit for real. recaptchaDone guards against re-entry. if (recaptchaSiteKey && !recaptchaDone && typeof grecaptcha !== 'undefined') { e.preventDefault(); const form = this; const $btn = $(form).find('button[type="submit"]').prop('disabled', true); grecaptcha.ready(function() { grecaptcha.execute(recaptchaSiteKey, { action: 'submit_review' }) .then(function(token) { $('#recaptchaToken').val(token); recaptchaDone = true; form.submit(); }) .catch(function() { // If the token can't be fetched, submit anyway and // let the server decide (it fails open on outages). recaptchaDone = true; $btn.prop('disabled', false); form.submit(); }); }); return false; } }); } // Initialize all components initStarRating(); initCharacterCounter(); initFormValidation(); }); });