Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Appending .html to Form.

Appending .html to Form.
Thread Tools
Fresh-Faced Recruit
Join Date: Sep 2003
Location: Santa Cruz
Status: Offline
Reply With Quote
Sep 22, 2003, 11:09 PM
 
I want my students to be able to check there grades on the class website. Theoreticly I want them to go to a form and type in there 5 digit student ID number, and press submit. Upon submission (javascript perhaps) would attach a .html to the end of thier 5 digit code and redirect the students to thier5digitcode.html, where there grades reside. Does anyone know of a quick fix? Any help would be appreciated.,

Drew Mylrea
     
Registered User
Join Date: Jul 2003
Location: San Jose
Status: Offline
Reply With Quote
Sep 22, 2003, 11:59 PM
 
something like this?

[php]
<form name="form" method="post">
<input type="text" name="ID" value="enter 5-digit ID">
<input type="submit" name="submit" onClick="document.location.href = ID.value + '.html'">
</form>
[/php]

<form name="form" method="post">
<input type="text" name="ID" value="enter 5-digit ID">
<input type="submit" name="submit" onClick="document.location.href = ID.value + '.html'">
</form>
(Last edited by mzllr; Sep 23, 2003 at 12:19 AM. )
     
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status: Offline
Reply With Quote
Sep 23, 2003, 08:44 AM
 
Originally posted by corruptmedia:
I want my students to be able to check there grades on the class website. Theoreticly I want them to go to a form and type in there 5 digit student ID number, and press submit. Upon submission (javascript perhaps) would attach a .html to the end of thier 5 digit code and redirect the students to thier5digitcode.html, where there grades reside. Does anyone know of a quick fix? Any help would be appreciated.,

Drew Mylrea
Forgive me for being rude, but what kind of teacher are you? Your spelling is very bad, I'm afraid to say. Are you a student volunteer or somethinig along those lines.
weird wabbit
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Sep 23, 2003, 11:57 AM
 
Originally posted by mzllr:
something like this?

[php]
<form name="form" method="post">
<input type="text" name="ID" value="enter 5-digit ID">
<input type="submit" name="submit" onClick="document.location.href = ID.value + '.html'">
</form>
[/php]

<form name="form" method="post">
<input type="text" name="ID" value="enter 5-digit ID">
<input type="submit" name="submit" onClick="document.location.href = ID.value + '.html'">
</form>
This is a valid solution, but it's quite insecure. If I were a student, I'd be very unhappy that anyone could get my grades/private info just by using a web form.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Senior User
Join Date: Dec 2002
Status: Offline
Reply With Quote
Sep 23, 2003, 08:15 PM
 
edit: should have PMed that..

As to the original post, I don't think this is a good idea. It would take quite a bit of know-how to make it secure, and if security was lacking, lawsuits may not be

SSL + social security for logging in would be better. The university I attend requires social security # and a student-designated PIN number.
(Last edited by redJag; Sep 25, 2003 at 08:07 PM. )
Travis Sanderson
     
Fresh-Faced Recruit
Join Date: Sep 2003
Location: Santa Cruz
Status: Offline
Reply With Quote
Sep 24, 2003, 08:52 PM
 
Thank you very much for that code. redJag, good thinking with the Social Security Number, however I don't think many High School students are very paranoid about identity theft when it comes to their Video Productions grade, nor do they know their Social Security Number. Theolein, check out the website it should clear up any questions you have.,

Drew Mylrea
     
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Sep 25, 2003, 10:02 AM
 
drew:

is it just me, or does "a look at swhs" suck because the audiotrack is so loud it covers up what the kids are saying. you cant hear them at all!
     
Mac Elite
Join Date: Mar 2001
Location: England
Status: Offline
Reply With Quote
Sep 25, 2003, 03:14 PM
 
I don't think many High School students are very paranoid about identity theft when it comes to their Video Productions grade, nor do they know their Social Security Number. Theolein, check out the website it should clear up any questions you have.,

Drew Mylrea [/B]
Don't the students already have a username/password for the school network? Just use those. Much simpler.

My school required student number, name, surname and date of birth. All needed to match before they'd release grades.

Amorya
What the nerd community most often fail to realize is that all features aren't equal. A well implemented and well integrated feature in a convenient interface is worth way more than the same feature implemented crappy, or accessed through a annoying interface.
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Sep 26, 2003, 02:20 AM
 
Originally posted by corruptmedia:
Thank you very much for that code. redJag, good thinking with the Social Security Number, however I don't think many High School students are very paranoid about identity theft when it comes to their Video Productions grade, nor do they know their Social Security Number. Theolein, check out the website it should clear up any questions you have.,

Drew Mylrea
That sounds all fine and dandy now, but you can't assume things like that. It's not fair to the students. You should either 1) get the students and their parents to sign waivers saying it's OK for the grades to be posted publicly on the 'Net, or 2) come up with some way that the grades are private to each student.
     
Fresh-Faced Recruit
Join Date: Sep 2003
Location: Santa Cruz
Status: Offline
Reply With Quote
Sep 26, 2003, 09:54 AM
 
Ohh, we asked had the parents sign a parent letter.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:11 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2