CraftLawrence, вот как иллюстрация...
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=windows-1251' />
<!--
<script src='http://code.jquery.com/jquery-latest.js'></script>
<script src="https://code.angularjs.org/1.3.9/angular.min.js"></script>
<script src="https://code.angularjs.org/1.3.9/angular-route.js"></script>
-->
<style type='text/css'>
form {
border: 1px solid;
}
</style>
<script type='text/javascript'>
window.onload=function(){
var of=document.getElementsByTagName('form');
for (var i=0; i<of.length; i++) {
var o=document.createElement('input');
o.type='text';
o.value=i;
of[i].appendChild(o);
};
}
</script>
</head>
<body>
<form></form>
<form></form>
<form></form>
<form></form>
<form></form>
</body>
</html>