473,785 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2639
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.t ypepad.com/contractsprof_b log/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:

"Opportunit y 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.

"Opportunit y 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.andrewpatri ck.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
12641
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 strategies but none pass the referer. How can I force this since the referer property is read only? I have set up an .htaccess file so it will only let people into a secure directory if they come from an internal page on my site. This is done by...
88
12559
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
46181
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
9555
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 second or so when the browser goes blank. I was wondering if it was possible to use AJAX to call the script to generate the report, then begin the download without refreshing the page (or in the case of I.E., leaving me with a blank window that...
2
9670
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 type="button" value="Add Quote" onclick="document.getElementById('nyhed').value+=''"> The button works fine and insterts into the textarea. Although I want to make a button which onclick asks the user for a
2
16874
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
4428
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 - adding things like ONCLICK='saveCaret(this)' etc. and it also tries to save any text that user could've entered before the button press.
6
1820
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 the mouse. When the user clicks on the textarea, my script gets a reference of the element that he clicked so i can operate on it. Is it possibile? Thanks for any input on this, I have some difficulties sorting my ideas out :)
2
2561
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 of Uncommitted Read for every database session. I am thinking along the lines of something equivalent to the sysdbopen() stored procedure in Informix XPS. Any ideas? Thanks in advance,
0
9484
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10157
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10097
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9957
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8983
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5518
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.