<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Agreement checkbox default for replies - How-to and Troubleshooting				            </title>
            <link>https://wpdiscuz.com/community/troubleshooting/agreement-checkbox-default-for-replies/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 07 Nov 2026 19:21:15 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Agreement checkbox default for replies</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/agreement-checkbox-default-for-replies/#post-7666</link>
                        <pubDate>Fri, 19 Mar 2021 16:49:17 +0000</pubDate>
                        <description><![CDATA[@asti
Thanks for the help! At first the checkbox on the reply comment fields were only showing up after I click the main comment box, but I changed the hook to comment_reply_form_bar_top an...]]></description>
                        <content:encoded><![CDATA[<p>@asti</p>
<p>Thanks for the help! At first the checkbox on the reply comment fields were only showing up after I click the main comment box, but I changed the hook to comment_reply_form_bar_top and that seems to be checking the box for all the forms right away. So I think it's working!</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>wp_user</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/agreement-checkbox-default-for-replies/#post-7666</guid>
                    </item>
				                    <item>
                        <title>RE: Agreement checkbox default for replies</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/agreement-checkbox-default-for-replies/#post-7647</link>
                        <pubDate>Fri, 19 Mar 2021 08:46:26 +0000</pubDate>
                        <description><![CDATA[@wp_user,
Please replace your code with the following one. It should work fine:
function my_wpdiscuz_autocheck_agreebox() {
    ?&gt;
		&lt;script type=&quot;text/javascript&quot;&gt; 
		jQuery(d...]]></description>
                        <content:encoded><![CDATA[<p><span>@wp_user,</span></p>
<p>Please replace your code with the following one. It should work fine:</p>
<pre contenteditable="false">function my_wpdiscuz_autocheck_agreebox() {
    ?&gt;
		&lt;script type="text/javascript"&gt; 
		jQuery(document).ready(function(){
			jQuery('#wpdcom .wpd-field-agreement .wpd-field').prop('checked', true);
		});
		jQuery(document).ready(function(){
                        jQuery(document).on('click', '.wpd-reply-button', function() {
                                jQuery('.wpd-form .wpd-field-agreement .wpd-field-group-title .wpd-field').prop('checked', true);
			});
		});
		&lt;/script&gt;
    &lt;?php
}
add_action('wpdiscuz_comment_form_after', 'my_wpdiscuz_autocheck_agreebox');</pre>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/agreement-checkbox-default-for-replies/#post-7647</guid>
                    </item>
				                    <item>
                        <title>Agreement checkbox default for replies</title>
                        <link>https://wpdiscuz.com/community/troubleshooting/agreement-checkbox-default-for-replies/#post-7632</link>
                        <pubDate>Thu, 18 Mar 2021 14:59:44 +0000</pubDate>
                        <description><![CDATA[The js code from this thread works to check the main comment checkbox, in the way I have it hooked in my code below. How do I check all the reply form checkboxes as well?
function my_wpdisc...]]></description>
                        <content:encoded><![CDATA[<!--?php
function my_wpdiscuz_autocheck_agreebox() {
    ?-->
<p>The js code from this thread works to check the main comment checkbox, in the way I have it hooked in my code below. How do I check all the reply form checkboxes as well?</p>
<p>https://wpdiscuz.com/community/troubleshooting/checkbox-default/</p>
<pre contenteditable="false">function my_wpdiscuz_autocheck_agreebox() {
    ?&gt;
		&lt;script type="text/javascript"&gt; 
		jQuery('#wpdcom .wpd-field-agreement .wpd-field').prop('checked', true);
		&lt;/script&gt;
    &lt;?php
}
add_action('wpdiscuz_comment_form_after', 'my_wpdiscuz_autocheck_agreebox');</pre>
<!--?php
}
add_action('wpdiscuz_comment_form_after', 'my_wpdiscuz_autocheck_agreebox');
?-->]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/troubleshooting/">How-to and Troubleshooting</category>                        <dc:creator>wp_user</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/troubleshooting/agreement-checkbox-default-for-replies/#post-7632</guid>
                    </item>
							        </channel>
        </rss>
		