Neticus writes: Have just done this myself thought i’d share
Adding ‘Accept Agreement’ checkbox to submit form.
Form will not submit until user checks this box.
In submit.tpl
Near top, Replace:
with
Scroll down to end of file, Replace:
with
This code in above is optional:
<input type=”button” value=”Exit” class=”btn” onclick=”document.location.href=’/index.php’;”/>
class=”btn” sets button colour.
3. Just before {include file=”footer.tpl”} place:
kevuk2k writes:
Originally Posted by Neticus
Have just done this myself thought i’d share
Adding ‘Accept Agreement’ checkbox to submit form. |
An excellent idea, however I’ve just been testing it and put in verbatim your instructions. I managed to bypass the tick box and still went straight to the paypal processing. The only thing that ever stopped me is the sheer power of the script itself, i.e if you dupe your submission, parent already exists, you get the captcha wrong, the only thing that did not work no matter what was the javascript you made? I followed your guidance to the letter and even had a tech of mine to do it and it wasn’t me for a change? Any ideas?
Cracking idea, however it might be a better idea to put a terms of service page online first and to hyperlink this in a pop up box so that the submitter knows the TOS he/she is agreeing to. I’d like to see this working though. Well done on the concept even if it didn’t work for me. Not to blow the candle out though all a person has to do is to write a line of text stating…
By completing this form you are accepting the terms and conditions of this site. |
Sometimes complicating the uncomplicated doesn’t always work, but does give food for thought as we now know we all should have considered this earlier. Thank you very much for contributing.
Kevin
Neticus writes: Sorry it didn’t work for you I‘ve just reinstalled it again on an affected and unaffected submit.tpl and it seems to hold the fort.
You could do like I did, go to a forum, kindly ask how X is achieved, you may have someone give you a different code to attempt.
Then try to incorporate into the relevant areas of submit.tpl.
However if it helps it may be a browser incompatibility problem I’m an IE6 user.
As for linking to the Terms of Agreement you could make the text a link that opens in a new window to – terms.php i.e.
To incorporate the terms into a customized pop up window you may have to use a ‘window generator’ script. Just search for that as a keyword.
Although Plan B works too. Just write it.
Peace.
Kevek2k writes: Humble pie Gladly eaten!!! Oops: The script worked absolutely fine in internet explorer all versions, opera, firefox and a few others so far…. Was a syntax error not being picked up as a result of incorrect installation of your description. Still think this is not really needed but is definitely an added bonus to any site that wants to make 110% certain the tos has been accepted. No comebacks then.
10/10 and my humble apologies for claiming it didn’t work for me….
Script writing is not my forte, but intellectual property is 😉
Thanks,
Kevin
GimmeMyDomains writes: Nice – works great. Now, does anyone have a “Terms and Conditions of Use” that I can use as a starting point?
mmatoday writes: anyone have the mod to add an extra box to the submit page? like next to where they fill everything out? so I can put terms of service and such in that.