...

View Full Version : Accept Terms



jsorenson3
07-06-2006, 05:03 AM
I have a script on my site that the user needs to check the I agree box in order for the submit button to be active.

I am looking to have that changed due to legal reasons, we need to have a text area that the person must scroll to the bottom to read the terms and once they reach the bottom the submit button would become active

If anyone could point me in the right direction, that would be much appreciated

Thanks
Justin

felgall
07-06-2006, 11:16 AM
The best cross browser solution would be to put the "Accept" button at the bottom of the scroll area where it is only visible once the area has been scrolled right down.

arnyinc
07-06-2006, 02:03 PM
<form name="myform">
<input type="checkbox" name="mycheckbox" onclick="this.form.mySubmitButton.disabled=(!this.checked);">
<br>
<input type="submit" disabled="true" name="mySubmitButton">
</form>

felgall
07-06-2006, 10:04 PM
How is someone without Javascript supposed to enable that button in order to submit it. That code effectively blocks 10% of visitors from ever being able to agree to the terms.

arnyinc
07-07-2006, 01:33 PM
I have little sympathy for those who are too stupid, paranoid, or technologically impaired to run javascript.

felgall
07-07-2006, 11:45 PM
A large portion of those 10% are those who are too physically impaired to use Javascript and don't fall into any of those categories that you have no sympathy for (if there is anyone in any of those groups at all since the stupid and technologically impared don't know how to turn javascript off and the paranoid security consious users run a browser where Javascript security isn't an issue).

I suggest that you blindfold yourself the next time that you are using your computer and see how far you get with javascript them. Blind people have been known to sue web site owners because of not being able to access portions of their site where their country's antidiscrimination laws give them the right to do so.

glenngv
07-08-2006, 07:10 AM
CSS based solution. Scripting not needed.

<html>
<head>
<style type="text/css">
#terms {
width:300px;
height:300px;
overflow:auto;
border: 1px solid silver;
}
</style>
</head>
<body>
<form>
<div id="terms">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.

<div>
<input type="submit" name="btnAccept" value="Accept" />
</div>
</div>
</form>
</body>
</html>

Philip M
07-08-2006, 07:30 AM
A large portion of those 10% are those who are too physically impaired to use Javascript and don't fall into any of those categories that you have no sympathy for (if there is anyone in any of those groups at all since the stupid and technologically impared don't know how to turn javascript off and the paranoid security consious users run a browser where Javascript security isn't an issue).

I suggest that you blindfold yourself the next time that you are using your computer and see how far you get with javascript them. Blind people have been known to sue web site owners because of not being able to access portions of their site where their country's antidiscrimination laws give them the right to do so.

I visited "ask Felgall" which informs me:-
"....but you will want to keep Javascript enabled as many pages will require it to give you the full functionality of the page." Well, yes.

I must confess that I do not see how a person who is totally or virtually blind so as to be unable to read the screen can use a computer at all. Or have I missed something? I have just tried switching the text size of this forum to "largest" but nothing alters.

I am naturally sorry for people who are disabled in any way, but they surely must learn to live with that disability if it cannot be overcome.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum