document.addEventListener('DOMContentLoaded', function() {
var stylistDropdown = document.getElementById('stylist_choice');
var stylistHiddenInput = document.getElementById('stylist_choice_hidden');
stylistDropdown.addEventListener('change', function() {
stylistHiddenInput.value = this.value;
});
});