Azure Jane Lunatic (Azz) 🌺 (
azurelunatic) wrote2004-03-25 01:22 pm
Leet Nexus action going on here... hee!
In which I make a form suitable for helping a harried secretary get books ordered on time and correctly
Web references used:
http://werbach.com/barebones/barebones.html
http://www.bignosebird.com/formls1.shtml
The raw code, probably needing debuggery:
<FORM ACTION="mailto:[shadesong]@[work].edu" METHOD=POST>
Author <INPUT TYPE="TEXT" NAME="AUTHOR" SIZE="30" MAXLENGTH="255">
Title <INPUT TYPE="TEXT" NAME="TITLE" SIZE="30" MAXLENGTH="255">
Publisher <INPUT TYPE="TEXT" NAME="PUBLISHER" SIZE="30" MAXLENGTH="255">
ISBN <INPUT TYPE="TEXT" NAME="ISBN" SIZE="30" MAXLENGTH="255">
Course <INPUT TYPE="TEXT" NAME="COURSE" SIZE="30" MAXLENGTH="255">
Section <INPUT TYPE="TEXT" NAME="SECTION" SIZE="30" MAXLENGTH="255">
Number of Copies <INPUT TYPE="TEXT" NAME="COPIES" SIZE="30" MAXLENGTH="255">
<p>
Do you want a desk copy?
<INPUT TYPE="radio" NAME="DESKCOPY" VALUE="YES">YES! I do want a desk copy of this textbook for myself!
<INPUT TYPE="radio" NAME="DESKCOPY" VALUE="NO">NO! I do not want one, Sam-I-am! I do not like desk copy spam! </p>
Your first name <INPUT TYPE="TEXT" NAME="PROFFIRSTNAME" SIZE="30" MAXLENGTH="30">
Your last name <INPUT TYPE="TEXT" NAME="PROFLASTNAME" SIZE="30" MAXLENGTH="30">
Your e-mail address <INPUT TYPE="TEXT" NAME="PROFEMAIL" SIZE="30" MAXLENGTH="30">
<p>
<INPUT TYPE="SUBMIT" VALUE="Submit to the will of thine Almighty Secretary">
<INPUT TYPE="RESET"></p>
</FORM>
The sort-of finished thingy, with the post action removed
Now, I just need to write JavaScript validation on the required fields... oh, and probably "how many copies do you want, Dog Breath?" would be a good option. Dog Breath optional.
Web references used:
http://werbach.com/barebones/barebones.html
http://www.bignosebird.com/formls1.shtml
The raw code, probably needing debuggery:
<FORM ACTION="mailto:[shadesong]@[work].edu" METHOD=POST>
Author <INPUT TYPE="TEXT" NAME="AUTHOR" SIZE="30" MAXLENGTH="255">
Title <INPUT TYPE="TEXT" NAME="TITLE" SIZE="30" MAXLENGTH="255">
Publisher <INPUT TYPE="TEXT" NAME="PUBLISHER" SIZE="30" MAXLENGTH="255">
ISBN <INPUT TYPE="TEXT" NAME="ISBN" SIZE="30" MAXLENGTH="255">
Course <INPUT TYPE="TEXT" NAME="COURSE" SIZE="30" MAXLENGTH="255">
Section <INPUT TYPE="TEXT" NAME="SECTION" SIZE="30" MAXLENGTH="255">
Number of Copies <INPUT TYPE="TEXT" NAME="COPIES" SIZE="30" MAXLENGTH="255">
<p>
Do you want a desk copy?
<INPUT TYPE="radio" NAME="DESKCOPY" VALUE="YES">YES! I do want a desk copy of this textbook for myself!
<INPUT TYPE="radio" NAME="DESKCOPY" VALUE="NO">NO! I do not want one, Sam-I-am! I do not like desk copy spam! </p>
Your first name <INPUT TYPE="TEXT" NAME="PROFFIRSTNAME" SIZE="30" MAXLENGTH="30">
Your last name <INPUT TYPE="TEXT" NAME="PROFLASTNAME" SIZE="30" MAXLENGTH="30">
Your e-mail address <INPUT TYPE="TEXT" NAME="PROFEMAIL" SIZE="30" MAXLENGTH="30">
<p>
<INPUT TYPE="SUBMIT" VALUE="Submit to the will of thine Almighty Secretary">
<INPUT TYPE="RESET"></p>
</FORM>
The sort-of finished thingy, with the post action removed
Now, I just need to write JavaScript validation on the required fields... oh, and probably "how many copies do you want, Dog Breath?" would be a good option. Dog Breath optional.
no subject
I'd leave the Dog Breath in. And I'd deny that I'm the one who did it. Then I would snicker when barely out of earshot.
no subject
But, seriously, what's there to be impressed about? It's just ... an html ... form... which ... requires ... oh. Requires general HTML programmish l33tness, yeah. Ah. That.
*bows graciously*
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject