HTML form help...

Associate
Joined
7 Apr 2004
Posts
542
Location
Banbury/Coventry Uni
Hi there, im looking to make a clever little form to store all my CD-Keys on for when i goto university, as i dont want to take the game boxes/CD's with me... I am sorted for the disc ISO's, but all the serials i have are in a .txt file and isnt very interesting. I thought it might be cool, and it will kill some time, if i could make a little HTML file, as i cant code in C++, so i figured, some forms, a window restricant, and done! So far, i have a short list of the programs i want on it, and a button. Luckily for me, i have forgotten everything we did about forms in A-level IT, thanks to a teacher who was most of the time reading out of a book : /...

Its basically this so far:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body>
<form name="form1" id="form1">
<select name="menu1" onchange="MM_jumpMenu('parent',this,0)">
<option>Photoshop 7</option>
<option>Office XP</option>
<option>Select program...</option>
</select>
<label>
<input type="submit" name="Submit" value="Fetch CD Key..." />
</label>
</form>
<form id="form2" name="form2" method="post" action="">
<input type="text" name="textfield" />
</form>
<p>&nbsp;</p>
</body>
</html>


Is there any way fo outputting a CD-Key into the Text box underneath when the button is pressed, and do i need to make a database or anything with all the numbers and programs on... This has gone from a little side project to something that im rabid on completing! Your help is appreciated!

Thanks
 
Nevermind, ill find another way to do this...

Oooh, you can change the font colour in Word!? Lies, i must see this devilry....
 
Back
Top Bottom