How do I make the accept agreement checkbox unchecked on the affiliate signup page by default?
Question:
How do I edit the affiliate signup page so the agreement isn't
automatically checked? Where do I go to edit the code for this?
Answer:
Implementing the following code into the 'Footer' field of the affiliate signup screen,
will cause the agreement checkbox to be unchecked when the page is loaded:
Navigate to:
Main Menu → Configuration → ('Look and Feel' section) Screen Branding Themes → [edit theme] → Screens (tab) →('Affiliate Management' section) → Affiliate Signup (edit button)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" >
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j('input[name=acceptAgreement]').attr('checked', false);
});
</script>