In the form, when you put a tick there is a link to the page, when you click on the link - for some reason a tick is set and the checkbox class changes, but there is no transition. Who knows how to fix this problem? I tried to remove the opening in a new window - not that does not help.

add_filter('form_field_line','form_field_line_checkpersdata', 10, 3); function form_field_line_checkpersdata($line, $filter, $data){ global $premiumbox; $type = trim(is_isset($data, 'type')); if($type == 'terms_personal_data'){ $line = ' <div class="checkpersdata_line"> <label><input type="checkbox" name="tpd" value="1" /> '. sprintf(__('I consent to processing of my personal data in accordance with Law No. 152-FZ "On Personal Data" and accept the terms and conditions of the <a href="%s" target="_blank">User Agreement</a>.','pn'), $premiumbox->get_page('terms_personal_data')) .'</label> </div> '; } return $line; } 

Page: bigpay.eu/feedback

    1 answer 1

    You have some script hanging on pressing text. return usually interrupts the href action. The easiest way to bypass the check is to use the onclick property (or the corresponding action in the js file)

     <a href="https://ya.ru" onclick="window.location='https://yandex.ru';">На Yandex, не на Ya</a>