Text HELP for support.
<script defer>
$(document).ready(function () {
const smsLabel = document.querySelector('.sb-formfield--sms-consent label');
if (smsLabel) {
// replace SMS consent label text
smsLabel.innerHTML = "<label for='id_sms-consent'>By checking this box, I expressly consent to receive recurring text messages by or on behalf of Homewatch CareGivers, regarding customer care (such as, among others, appointment reminders, billing), account notifications, marketing, products, services, offers, promotions and franchise opportunities, at the number provided above, including via automated technology. Consent is not a condition of purchase. Msg & data rates may apply. Msg frequency varies. Unsubscribe at any time by replying STOP. Text HELP for support. <a href='/privacy-policy/'>Privacy Policy</a> & <a href='/privacy-policy/'>Terms of Use</a>.";
}
});
</script>
NON WORKING
<script>
$(document).on('ajax-form-failure', function() {
console.log('works');
const smsLabel = document.querySelector('.sb-formfield--sms-consent label');
if (smsLabel) {
// replace SMS consent label text
smsLabel.innerHTML =
'I consent to receive marketing SMS text messages from Homewatch CareGivers at the number provided, including messages sent by autodialer. Consent is not a condition for advancing with this form. MSG & data rates may apply. MSG frequency varies. Unsubscribe at any time by replying STOP. View our <a href="/privacy-policy/">Privacy Policy</a> & <a href="/terms-of-use/">Terms of Use</a>.';
}
});
</script>