Default Contact Email for a Group

Hi folks,

Someone in our community wants all their Group’s events to always use the same “Contact Email” field; is this possible?

You can set default event contact information in the Group editor. Is that what you are wanting?

Came here to echo Jon’s suggestion!

Thanks folks. That seems pretty straightforward but my searching and hunting was coming up empty.

Actually this doesn’t seem to solve the issue. Sorry for the false un-alarm.

What we want is for users of a particular group to all have the same “Contact Email” address pre-filled when they begin authoring an event, rather than having that event creator have to remove their own and paste in the “right” one.

It seems like Default Contact Information doesn’t do that, as I tested in our CalAdmins Group and instead of the address that I put in the screenshot, it filled with my own.

You are right. Default Contact Information doesn’t do that. That just automatically inserts default content into the Contact Information field.

I’m not aware of an out-of-the-box way to do what you are asking about. Personally, I would probably write some backend JS (/_ingredients/backend/backend.js) if I wanted to do that.

Something like this should do the trick:

$(window).on('load', function () {
    if ( $('.lw-current-group').attr('title') == 123 ) { // replace 123 with the id of the group you want to target
        $('#registration_notifications_email').val('email@yourschool.edu'); // replace the email with the one you want to use
    }
});

You could qualify that if statement more to make sure it only runs on Event editor pages if you wanted to.

Thanks! Really appreciate it.