Re: NetReg: Acceptible Usage Policy on registration page

New Message Reply Date view Thread view Subject view Author view Attachment view

From: David Meuleman (dmeuleman@defiance.edu)
Date: Wed May 07 2003 - 11:09:28 CDT


Just realized that I responded only to Steve before. I had thought about
older browsers that weren't capable of javascript and decided that was
unlikely. I hadn't thought about browsers where javascript was disabled.
Since that is more likely, I added the following to the check_input()
function in register.cgi.

    # P1-P4 are just names of checkboxes. If they aren't checked, the
browser doesn't
    # post them with the rest of the form, so no need to compare them to a
value. Just
    # check to see if they exist. Add more as needed.
    if (!$FORM{'P1'} || !$FORM{'P2'} || !$FORM{'P3'} || !$FORM{'P4'}) {
      error("Form Submission Error<P>You must read and accept each policy
statement.");
    }

Dave

On Wed, 7 May 2003 09:56:06 -0500, Steve Hideg <hideg@saintmarys.edu>
wrote:

> You should also include some code in register.cgi to verify the
> checkboxes since some people may have javascript disabled in their
> browsers.
>
> ++Steve Hideg
>
>
> At 10:35 AM -0400 5/7/03, David Meuleman wrote:
>> I came up with this idea a couple months ago. Being the beginning of a
>> light semester here, I think I'll implement it for the summer and see
>> how it goes.
>>
>> I've included as part of my registration form 12 statements with a
>> checkbox next to each. Most are just college policies regarding
>> computer/network use. The registrant must read each statement and check
>> each box prior to submitting the form. The following javascript
>> verifies that each box is checked. It is invoked with an
>> onclick="return checkform(myForm);" tag in the submit button (make sure
>> you change "myForm" to whatever you named your form).
>>
>> function checkform(f)
>> {
>> // P1 to P4 are the names of checkboxes in the form
>> // If needed, just add more checks to this statement
>> if (!f.P1.checked || !f.P2.checked || !f.P3.checked || !f.P4.checked) {
>> alert('Please read each of the policy statements. Check the box next to
>> each statement before submitting.');
>> return false; }
>> return true;
>> }
>>
>> Finally, I imagine many of you have the same problems with
>> Gnutella/Grokster/Morpheus that we have here. So, I thought I'd include
>> three of my statements that each student must read and accept. Perhaps
>> you may also want to post them in conspicuous places on your network.
>>
>> 17 USC 506(a)(1) - Any person who infringes a copyright willfully for
>> purposes of commercial advantage or private financial gain shall be
>> punished as provided under section 2319 of title 18, United States Code.
>>
>> 17 USC 101 - The term "financial gain" includes receipt, or expectation
>> of receipt, of anything of value, including the receipt of other
>> copyrighted works.
>>
>> 18 USC 2319 and 18 USC 3571 - Offenders of section 506(a)(1) of title 17
>> can be punished by up to 5 years in prison and a $250,000 fine for
>> reproduction or distribution of 1 or more copyrighted works which have
>> total retail value of more than $2500.
>>
>> --
>>
>> **********************************************************************
>> To unsubscribe from this list, send an e-mail message to
>> majordomo@southwestern.edu containing a single line with the words:
>> unsubscribe netreg
>> Send requests for assistance to: owner-netreg@southwestern.edu
>> **********************************************************************
>

-- 
 
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************

New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:39 CDT