New Ad - “Accept Terms of Service” – checkbox in step2.php
I like to display a checkbox in step2.php when a user is creating a new ad.
So the user has to check the box before continuing to the next final page to finish creating the new ad.
Right now, i found the place wehre to place the checkbox. That will be „classipress/includes/forms/step2.php“
the checkbox is inserted by the following code:
Code:
<?php if ( $postvals['cp_sys_total_ad_cost'] > 0 ) : ?>
<input tabindex="0" type="checkbox" name=„mechkbox" id="mechkbox" /> I accept the <a href="http_//lintto.com" target="_blank“>terms an conditions</a>
<?php endif; ?>
so far… but how to check, if the checkbox was checked before going to next site?
Can anyone help me?