4th Annual Flavors of the Harvest, 9/21, Marina (Monterey Peninsula) – Events – California
New to Chowhound?
Sign up to discover your next favorite restaurant, recipe, or cookbook in the largest community of knowledgeable food enthusiasts.

Melanie Wong
|
Sep 18, 201911:54 AM
Chowhound Recommends

More from Chowhound
Food Trends
by Maryse Chevriere | Rosé may be an emblem of summer, but you shouldn’t stop drinking pink wine when sweater weather rolls…
Explainers
by Pamela Vachon | Everything you need to know about shrubs (aka, drinking vinegar). Admittedly, the term shrub is up…
Recipe Round-Ups
by Chowhound Editors | Cream and mushrooms are a magical combo, and these creamy mushroom recipes celebrate it in all its…
How To
by Laura Aebi | The quest for healthy french fries will never end, because let’s face it: French fries are everyone…
Trending Discussions
3 comments
4 comments
8 comments
9 comments
60 comments

‘)
} else {
$(‘.f_req’).remove();
}
})
}
$(document).on(‘change’, ‘.Newsletter-checkbox .inp_chk’, function(){
var checked = $(“input.inp_chk:checked”).length;
if( checked == 0 ) {
$(‘.f_req’).remove();
$(‘.Newsletter-checkbox’).append(‘
Please check the opt-in box to acknowledge that you would like to subscribe.
‘);
return false;
} else {
$(‘.f_req’).remove();
}
})
var clickev = is_mobile ? ‘touchend’ : ‘click’;
$(document).on(clickev, ‘.f_req’, function(){
$(‘.f_req’).remove();
})
$(document).on(‘click’, ‘.fr_fw_nl_frm .bt_t:not(.processing)’, function(e){
$(this).addClass(‘processing’);
var emailFilter = /^([+a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/;
if( !emailFilter.test($(‘.inp_t’).val()) ){
$(‘.f_req’).remove();
$(‘.fr_fw_nl_frm’).append(‘
Please enter a valid Email
‘);
$(this).removeClass(‘processing’);
}
if ( emailFilter.test($(‘.inp_t’).val()) && $(‘.inp_t’).val().length > 2 ) {
var checked = $(“input.inp_chk:checked”).length;
if( checked === 0 ) {
$(‘.f_req’).remove();
$(‘.Newsletter-checkbox’).append(‘
Please check the opt-in box to acknowledge that you would like to subscribe.
‘);
$(this).removeClass(‘processing’);
return false;
} else {
$(‘.Newsletter-checkbox’).remove();
subemail = $(‘.inp_t’).val();
acqsource = $(‘.acqsource’).val();
$(‘.fr_fw_nl_frm’).html(“
Thanks for subscribing!
“).addClass(‘okm’);
$(‘.f_req’).remove();
var newsLetterSubmit = $.ajax({
type: ‘POST’,
url: “/profile/public_subscription/?email=”+subemail+”&acqsource=”+acqsource,
dataType: “text”,
success: function(data) {
//do nothing
}
});
}
}
nlAfterSubmit();
})
});