1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
<html>
<head>
<script>
function SubmitForms(username, password, database, form){
document.hidden_starter.userid.value=username+'/'+password+'@'+database
document.hidden_starter.form.value = form;
//document.hidden_starter.submit();
window.open("http://my-machine:8888/forms90/f90servlet?config=MA_CONFIG","","menubar=no, status=no, scrollbars=no, menubar=no");
}
</script>
<title>Run Forms</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="hidden_starter" method="post" action="http://my-machine:8888/forms90/f90servlet?">
<h2>
<input type="hidden" name="obr" value="yes">
<input type="hidden" name="array" value="yes">
<input type="hidden" name="userid" value="">
<input type="hidden" name="form" value="">
</h2>
</form>
<p><b>Forms Launcher</b></p>
<form name="inputform" method="post" action="">
<table width="60%" border="1">
<tr>
<td width="22%">Forms Module</td>
<td colspan="2"><input type="text" name="form" onBlur="if(document.inputform.form.value == '') alert('value must be provided');"></td>
</tr>
<tr>
<td>Username</td>
<td colspan="2"><input type="text" name="username" onBlur="if(document.inputform.username.value == '') alert('value must be provided');"></td>
</tr>
<tr>
<td>Password</td>
<td colspan="2"><input type="password" name="password" onBlur="if(document.inputform.password.value == '') alert('value must be provided');"></td>
</tr>
<tr>
<td>Database</td>
<td colspan="2"><input type="text" name="database" onBlur="if(document.inputform.database.value == '') alert('value must be provided');"></td>
</tr>
<tr>
<td> </td>
<td width="11%"> </td>
<td width="67%"><input type="button" name="Submit" value="Run Forms" onClick="SubmitForms(document.inputform.username.value,document.inputform.password.value,document.inputform.database.value,document.inputform.form.value);"></td>
</tr>
</table>
</form>
<p><b></b></p>
</body>
</html> |
Partager