Location: PHPKode > scripts > WebPen > webpen/signbox.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--Webpen v3 //This software is copyright ToucanMultimedia.com 2010. It or any part of it may not be used, sold, or modified without permission of ToucanMultimedia.com. -->
<html>
<head>
<title>Sample Online Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="JavaScript" type="text/javascript" src="svg-lib.js"></script>
<script language="JavaScript" type="text/javascript" src="config3.js"></script>
<script language="javascript" type="text/javascript" src="validateForm.js"></script>
<link href="wpstyles.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="sigbox" style="overflow:hidden" onMouseDown="startSig();"></div>
<script language="JavaScript" type="text/javascript" src="websign.js"></script>
<form name="signbox" class="" method="POST" action="displaydoc.php" target="WebPen" onSubmit=" sendData(); return validate_form ( );">
<input type="hidden" name="dataX" />
<input type="hidden" name="dataY" />
<input type=button value="Clear" style="margin-top:2px" onClick="paper.clear(); clearPad();" />&nbsp;&nbsp;&nbsp;
<br />
<br />
<br />
Name:&nbsp;<input name="name" type="text" size="25" maxlength="35" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<script language="JavaScript">
  <!--
    var now = new Date();
    var months = new Array(
      'January','February','March','April','May',
      'June','July','August','September','October',
      'November','December');
    var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
    function fourdigits(number)	{
      return (number < 1000) ? number + 1900 : number;}
    today =  months[now.getMonth()] + " " +
       date + ", " +
       (fourdigits(now.getYear()));
     document.write(today);
  //-->
</script>
<br />
<br />
<br />
<input type="submit" name="submit" value="Submit Agreement" />
</form>

</body>
</html>
Return current item: WebPen