473,320 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Force user to read a textarea

Is there a way to force the user to read a textarea?

Just like those 'agreements' that is used in a few offline
instalation..

You have to scroll all the way down of the textarea and then the I
AGREE button is enabled... is there a way to do that with JS?

Tks a lot =]

Oct 17 '05 #1
3 2610
Zif
xscully wrote:
Is there a way to force the user to read a textarea?
Stand behind them with a shotgun while they read it to you aloud? ;-)

Just like those 'agreements' that is used in a few offline
instalation..

You have to scroll all the way down of the textarea and then the I
AGREE button is enabled... is there a way to do that with JS?


Put the 'agree' button at the bottom of the scrolling div and tell
them that's where it is - no script required.

I don't think forcing users to scroll to the bottom provides any
additional force to the agreement.

If US court decisions are applicable to your jurisdiction, 'click
through' agreements have been tested already (though I guess the usual
caveats on contracts apply).

In a decision dated 12 August, 2005:

"An Illinois appeals court held that buyers who purchased computers
over the Internet were bound to an arbitration clause contained in
the "Terms and Conditions of Sale,” even though the buyers were not
required to click on an “I agree” button specific to those terms of
sale.

"The computer purchasers brought an action against the computer
manufacturer, Dell, claiming that it falsely advertised the Pentium
4 microprocessor was the fastest chip available. Dell moved to
compel arbitration; the trial court denied the motion. Dell
appealed, and the appellate court reversed.

"The buyers had purchased the computers on Dell’s web site, which
contained five pages of forms the buyers had to fill out to make the
purchase. Each of these five pages contained a blue hyperlink to the
“ Terms and Conditions of Sale .” The “Terms and Conditions of Sale”
included an arbitration clause. The “Terms and Conditions of Sale”
were also included on the printed invoice that came with the
computer."
<URL:http://lawprofessors.typepad.com/contractsprof_blog/2005/08/illinois_appeal.html>

--
Zif
Oct 17 '05 #2
that's a solution.. I'll show that the my client... I hope he likes
it.. xD

he was the one that asked me to 'force' the user to scroll till the end
to enable the button...

tks! =]

Oct 17 '05 #3
On 17/10/2005 14:48, xscully wrote:
Is there a way to force the user to read a textarea?
No.
Just like those 'agreements' that is used in a few offline
instalation..

You have to scroll all the way down of the textarea and then the I
AGREE button is enabled...
Having to scroll doesn't constitute reading. I know I've just scrolled
through because I knew what the agreement entailed (I do read license
agreements, but I don't read the same 'stock' ones more than once).
is there a way to do that with JS?


No, but I don't think it would be a good idea even if you could.
If you're actually looking for a legally binding form of click-through
agreement, then there are issues you should be aware of. Some of these
have been presented by Andrew Patrick[1]. A few notes on the principles,
as I read them:

"Opportunity to review terms"

It's important that a user can't just use some link to go directly to a
point beyond the agreement. In doing so, they would have access to the
content, but they wouldn't have agreed to the terms of use. To prevent
this, it may be considered necessary to use sessions to track users and
their consent, and eject those visitors without a valid session id to
the agreement page.

"Opportunity to correct errors" and "Ability to reject terms"

An initially unchecked check box with the label, "I have read, and agree
to, the above terms and conditions", should be considered sufficient as
the user would have needed to take an explicit action to give their
consent. However, there should be a paragraph - perhaps after the check
box - that indicates that not agreeing will prevent them from using
whatever it is you're providing. Submitting the form without checking
that box should redirect the user away from the 'protected' area. Note
that all of this checking (and the redirection) /must/ be performed
server-side.

An alternative to a single check box would be two radio buttons. One
would read the same as, or similar to, the check box. The other,
initially chosen, would read something like "I do not agree to the above
terms and conditions, and understand that I may not use <whatever>."
This would render the paragraph that says much the same, unnecessary.

"Ability to print the terms"

It's not usually possible to print the entire contents of a TEXTAREA
element - only the visible portion is shown. It might be better to
mark-up the terms with normal semantic notation (paragraphs, headings,
lists, etc.) and wrap it all in a DIV element. You could then produce a
style sheet that renders a similar effect, and a print media style sheet
that removes that effect.
Don't use a pop-up though, as demonstrated in the image.

Mike

I'm not a lawyer. I'm just presenting my lay opinion.
[1] Patrick, A. (2002) Just-In-Time Click-Through Agreements
<URL:http://www.andrewpatrick.ca/jitcta/jitcta.html>

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Oct 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jonathan Driller | last post by:
I am attempting to block repeat downloads from a site. I need to have a landing page pass a referer to a secured page. I have tried a meta refresh redirect and several Javascript redirect...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
8
by: Steven | last post by:
i need to force a carriage return with a textarea field at X number of characters. anybody know how to do this? tks
4
by: k.mitz | last post by:
Hi, I have a PHP application that allows users to generate a .pdf report of their database content. Normally, I've had to refresh a page to call the script to generate the report, so there's a...
2
by: danielboendergaard | last post by:
Hey Im making a homepage in php. I use a html form to put data into mysql and i want to make some buttons which inserts user input values into a textarea. I have used a button like this: <input...
2
by: Lovens Weche | last post by:
I'm trying to set the "readonly" attribute of a "textarea" element this way: --------------------------------- <script type="text/javascript"> ***snip***
51
by: Paul Gorodyansky | last post by:
Hi, Ran into the following problem while trying to have a code to attach a Virtual Keyboard to any user's form: User clicks a button and my JavaScript changes outerHTML of say <textarea -...
6
by: Vortexmind | last post by:
Hi all I was wondering if this is possible in Javascript. I want to make a bookmarklet. When a user launches it, it tells the user to select an element in the page (for example a textarea) with...
2
by: Desmodromic | last post by:
Within DB2 v8.1 is it possible to force all database sessions for a certain user to use a specific isolation level? Basically, I have a readonly user that I want to force to use an isolation level...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.