Login Username or email address *Required Password *Required Remember me Log in Lost your password? Register Username *Required Email address *Required Password *Required Apply to become a vendor? I have read and accepted the terms and conditions var accept_terms_text = "You must accept the terms and conditions to become a vendor."; jQuery(function ($) { $('form.register').on('submit', function (e) { if (jQuery('#agree_to_terms').is(':visible') && !jQuery('#agree_to_terms').is(':checked') && jQuery('#apply_for_vendor').is(':checked') ) { e.preventDefault(); alert( window.accept_terms_text ); } }); }); Register