Answers.Body: <p>Actually in the iATS Extension we've gone back and forth on this but are now "is.checked" as many orgs/administrators make special "Donate monthly now" pages with specific appropriate defaults for monthly $amounts like $25 or $50 - typically less than the default on a "Donate one time" page. On a Donate monthly to get people through without extra checking of boxes - the default is now is.checked (if recurring is an option). To uncheck that box you need to add some Javascript.</p>
  
  <p>This is what you want:</p>
  
  <pre><code>$('#is_recur').attr('checked', false);
  </code></pre>
  
  <p>There are several ways to go about adding this [and not sure this is the best one - but it's one that I understand, it's what I typically do] - on Drupal 7:</p>
  
  <p>In the theme's template.php - when preprocessing a page - I'll insert js - based on path:</p>
  
  <p><a href="https://i.sstatic.net/nvdKn.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/nvdKn.png" alt="enter image description here"></a></p>
  
  <p>So if we're on a <code>civicrm/event/transact</code> url -> then load <code>civicrm-recurring.js</code></p>
  
  <p>and that <code>civicrm-recurring.js</code> file lives in the theme's js directory and looks like:</p>
  
  <p><a href="https://i.sstatic.net/xLkuV.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/xLkuV.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-01T22:19:23.070Z
Answers.Text: Sorry so late to respond, Karin! Thank you! Unfortunately, I do not know how to code this or where to put it precisely. Can you give me a code snippet and instructions about where to place it (a file path).
Answers.UserDisplayName: John Richardson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-02T16:48:52.223Z
Answers.Text: Hi John! I've added details above. Give that a try - and let me know if you have any further questions;
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-31T03:02:07.667Z
Answers.LastActivityDate: 2017-09-02T23:53:28.753Z
Answers.LastEditDate: 2017-09-02T23:53:28.753Z
Answers.UserDisplayName: KarinG - Semper IT
Answers.Body: <p>Apparently, enabling the iATS ACG/EFT payment processor on a donation page causes the recurring checkbox to be pre-checked. We're using CiviCRM with WordPress, with a child theme and a custom page template for the CiviCRM front end page. I was able to automatically uncheck the recurring checkbox by simply adding the following javascript to the CiviCRM page template, just after the content section:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
          document.getElementById("is_recur").checked = false;
      &lt;/script&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-02T00:14:04.940Z
Answers.LastActivityDate: 2019-09-02T00:14:04.940Z
Answers.UserDisplayName: Don Alejandro
Body: <p>Obviously, I want to provide the option for recurring but I do not want it to load the page with default recurring selected. I think this is the way most administrators would want it to work. Should be simple, right?</p>
  
Tags: <civicontribute><contribution-page><recurring-contributions><javascript><iats>
Title: How can I configure my contribution page so that recurring is not pre-selected by default?
ThreadText: # How can I configure my contribution page so that recurring is not pre-selected by default?
  
  (Asked by: username_0 on 2017-08-30)
  
  Obviously, I want to provide the option for recurring but I do not want it to load the page with default recurring selected. I think this is the way most administrators would want it to work. Should be simple, right?
  
  **Tags:** civicontribute, contribution-page, recurring-contributions, javascript, iats
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-08-31. Score: 1 | Accepted answer
  
  Actually in the iATS Extension we've gone back and forth on this but are now "is.checked" as many orgs/administrators make special "Donate monthly now" pages with specific appropriate defaults for monthly $amounts like $25 or $50 - typically less than the default on a "Donate one time" page. On a Donate monthly to get people through without extra checking of boxes - the default is now is.checked (if recurring is an option). To uncheck that box you need to add some Javascript.
  
  This is what you want:
  
  ```
  $('#is_recur').attr('checked', false);
  
  ```
  
  There are several ways to go about adding this [and not sure this is the best one - but it's one that I understand, it's what I typically do] - on Drupal 7:
  
  In the theme's template.php - when preprocessing a page - I'll insert js - based on path:
  
  [![enter image description here](https://i.sstatic.net/nvdKn.png)](https://i.sstatic.net/nvdKn.png)
  
  So if we're on a `civicrm/event/transact` url -> then load `civicrm-recurring.js`
  
  and that `civicrm-recurring.js` file lives in the theme's js directory and looks like:
  
  [![enter image description here](https://i.sstatic.net/xLkuV.png)](https://i.sstatic.net/xLkuV.png)
  
  > **Comments:**
  > **username_0**: Sorry so late to respond, Karin! Thank you! Unfortunately, I do not know how to code this or where to put it precisely. Can you give me a code snippet and instructions about where to place it (a file path).  
  > **username_1**: Hi username_0! I've added details above. Give that a try - and let me know if you have any further questions;  
  
  ---
  
  ### Answer by username_2 on 2019-09-02. Score: 1
  
  Apparently, enabling the iATS ACG/EFT payment processor on a donation page causes the recurring checkbox to be pre-checked. We're using CiviCRM with WordPress, with a child theme and a custom page template for the CiviCRM front end page. I was able to automatically uncheck the recurring checkbox by simply adding the following javascript to the CiviCRM page template, just after the content section:
  
  ```
      <script type="text/javascript">
          document.getElementById("is_recur").checked = false;
      </script>
  
  ```
  
  
  ---
  
  