azurelunatic: Oblong coin with a beaded border. Image of building, inscription 'IEEE 20 cents'. (ieee coin)
Azure Jane Lunatic (Azz) 🌺 ([personal profile] 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


Author
Title
Publisher
ISBN
Course
Section
Number of Copies


Do you want a desk copy?
YES! I do want a desk copy of this textbook for myself!
NO! I do not want one, Sam-I-am! I do not like desk copy spam!



Your first name
Your last name
Your e-mail address






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.

[identity profile] grifyn.livejournal.com 2004-03-25 12:24 pm (UTC)(link)
::impressed::

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.

[identity profile] grifyn.livejournal.com 2004-03-25 05:18 pm (UTC)(link)
Well, yeah. I am the Luddite who has a passing knowledge of HTML. If HTML were a foreign language and I was in its country of origin, I would know just enough to inquire after bathrooms and restaurants.

[identity profile] thette.livejournal.com 2004-03-26 04:47 am (UTC)(link)
If I was in HTMLia, I'd be in the company of my fiance, the grammar-and-usage bitch. Who, of course, is fluent.

[identity profile] raaven.livejournal.com 2004-03-25 12:33 pm (UTC)(link)
That's lovely. I am envious of your code-fu. :)

[identity profile] shadesong.livejournal.com 2004-03-25 01:01 pm (UTC)(link)
Also course and section. But AWESOME. Hee!
wibbble: A manipulated picture of my eye, with a blue swirling background. (Default)

[personal profile] wibbble 2004-03-25 09:09 pm (UTC)(link)
Thank you for terrorising me with the word 'debuggery'.