473,508 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Retrieving Dynamic Form Data?????

bmallett
2 New Member
First off, i would like to thank everyone for any and all help with this. That being said, I am having a problem retrieving/posting my dynamic form data. I have a form that has multiple options within options. I have everything being dynamically named from the previously dynamically named element. (I hope this makes sense.) I am not able to retrieve any of the dynamically created values. I can view them on the source page but can't pull them after submit. I am using a convoluted mix of languages as I am very raw to coding. (ASP, VBScript, JavaScript) So please excuse my ignorance as you will probably see much of. I am sure there is probably an easier way of doing things. :)

I try to retrieve my variables, just to see what i need to disassemble, on the next page with the following code:

Expand|Select|Wrap|Line Numbers
  1.  <%
  2.      For i = 1 To Request.Form.Count
  3.      Response.Write "You selected " & Request.Form(i) & "<br>"
  4.      Next
  5. %>
  6.  
My main page code is as follows:


Expand|Select|Wrap|Line Numbers
  1. <%@ LANGUAGE="VBScript" %>
  2. <!--#include virtual="/ADOVBS.INC"-->
  3. <!-- #INCLUDE FILE = "VB2JSarray2D.inc" -->
  4. <!-- #INCLUDE FILE = "VB2JSarray1D.inc" -->
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8. <%
  9. strUN = UCase(Request.Form("UN"))
  10. strPW = UCase(Request.Form("PW"))
  11. %>
  12. <%
  13. Conn = "dsn=AS400RW;uid=" + strUN + ";pwd=" + strPW + ";"
  14. %>
  15. <%
  16.    Set con = Server.CreateObject("ADODB.Connection")
  17.    con.Open Conn
  18.    Set cmd = Server.CreateObject("ADODB.Command")
  19.    Set cmd.ActiveConnection = con
  20. %>
  21. <%
  22. set Recordset = Server.CreateObject("ADODB.Recordset")
  23. Recordset.ActiveConnection = Conn
  24. Recordset.Source = "SELECT JRIIT#, JRID01, JRID02, JRID03, JRID06 FROM JRITEM WHERE JRID01= 'MOLDING' AND JRIIT# NOT IN(SELECT JRXITM FROM JRCOMP) GROUP BY JRID01, JRID02, JRID03, JRIIT#, JRID06 ORDER BY JRID02"
  25. Recordset.Open()
  26. %>
  27. <%
  28. set Recordset1 = Server.CreateObject("ADODB.Recordset")
  29. Recordset1.ActiveConnection = Conn
  30. Recordset1.Source = "SELECT DISTINCT JRID02, JRID03, JRID06, JRIIT# FROM JRITEM WHERE JRID01 = 'MOLDING' AND JRIUOM = 'FT' AND JRIIT# NOT IN(SELECT JRXITM FROM JRCOMP) order by JRID02, JRID03, JRID06"
  31. Recordset1.Open()
  32. %>
  33. <%
  34. set Recordset4 = Server.CreateObject("ADODB.Recordset")
  35. Recordset4.ActiveConnection = Conn
  36. Recordset4.Source = "SELECT dcsval FROM jritds WHERE dcsgrp='FRAMED AWARD - DC' and dcsseg='INSERT' ORDER BY dcsval"
  37. Recordset4.Open()
  38. %>
  39. <%
  40. set Recordset5 = Server.CreateObject("ADODB.Recordset")
  41. Recordset5.ActiveConnection = Conn
  42. Recordset5.Source = " SELECT JRIIT#, JRID01, JRID02, JRID10 FROM JRITEM WHERE JRID01='GLASS' AND JRID02='PANE' AND JRID07='CLEAR' AND JRIPMB='BUY' AND JRIIT# NOT IN( SELECT JRXITM FROM JRCOMP) GROUP BY JRID01, JRIIT#, JRID10, JRID02 ORDER BY JRID10"
  43. Recordset5.Open()
  44. %>
  45. <%
  46. 'Create Array
  47.     Dim InsertArray   
  48.     Set SQLStmt = Server.CreateObject("ADODB.Command")
  49.     Set RS = Server.CreateObject("ADODB.Recordset")
  50.     SQLStmt.CommandText = "SELECT dcsval FROM jritds WHERE dcsgrp='FRAMED AWARD - DC' and dcsseg='INSERT' ORDER BY dcsval"
  51.     SQLStmt.CommandType = 1
  52.     Set SQLStmt.ActiveConnection = con
  53.     RS.Open SQLStmt
  54.         InsertArray = RS.GetRows(, , Array("DCSVAL"))
  55.     RS.Close
  56.  
  57.  
  58. Call ConvertToJSArray2D(InsertArray,"InsertArray")
  59.  
  60. %>
  61. <%
  62. 'Create Array
  63.     Dim MatArray   
  64.     Set SQLStmt = Server.CreateObject("ADODB.Command")
  65.     Set RS = Server.CreateObject("ADODB.Recordset")
  66.     SQLStmt.CommandText = "SELECT DISTINCT JRID02, JRID03, JRID04, JRID06, JRIIT# FROM JRITEM A WHERE JRID01 = 'MAT' AND EXISTS(SELECT * FROM VQUOTE WHERE A.JRIIT# = VQQIT#) ORDER BY JRID02"
  67.     SQLStmt.CommandType = 1
  68.     Set SQLStmt.ActiveConnection = con
  69.     RS.Open SQLStmt
  70.         MatArray = RS.GetRows(, , Array("JRID02", "JRIIT#"))
  71.     RS.Close
  72.  
  73. Call ConvertToJSArray2D(MatArray,"MatArray")
  74. %>
  75.  
Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
  2. function toggleElement(IDvalue){
  3. var divIdName = IDvalue.split("_");
  4. document.getElementById(divIdName[0]+"_Square").style.display="none";
  5. document.getElementById(divIdName[0]+"_Circle").style.display="none";
  6. document.getElementById(divIdName[0]+"_Oval").style.display="none";
  7. document.getElementById(divIdName[0]+"_Manual").style.display="none";
  8. if(IDvalue!="") {
  9.     var obj=document.getElementById(IDvalue);
  10.     obj.style.display=(obj.style.display=="none")? "inline" : "none";
  11.     }
  12. }
  13. </script>
  14.  
  15. <SCRIPT LANGUAGE="JAVASCRIPT">
  16. function matDrop(name) {
  17.        var html = "<select name='mat"+name+"' id='mat"+name+"'>";
  18.           html += "<option></option>";
  19.                    var j=0;
  20.               while (j < MatArray[0].length)
  21.                        {
  22.                     html += "<option name='matstyles' value='"+MatArray[1][j]+"'>"+MatArray[0][j]+"</option>";
  23.                        j=j+1;
  24.                        }
  25.     html += "</select>";
  26.     return html;
  27. }
  28. </SCRIPT>
  29. <SCRIPT LANGUAGE="JAVASCRIPT">
  30. function insertDrop(num) {
  31.        var html = "<select name='insert_"+num+"' id='insert_"+num+"'>";
  32.           html += "<option name='inserttype_"+num+"' value='CallAddFunction'>Needs To Be Added</option>";
  33.                    var j=0;
  34.               while (j < InsertArray[0].length)
  35.                        {
  36.                     html += "<option name='inserttype_"+num+"' value='"+InsertArray[0][j]+"'>"+InsertArray[0][j]+"</option>";
  37.                        j=j+1;
  38.                        }
  39.     html += "</select>";
  40.     return html;
  41. }
  42. </SCRIPT>
  43. <script language="javascript">
  44. function cutoutshape(divIdName) {
  45.     var html = "<select name='shape"+divIdName+"' id='shape"+divIdName+"' onchange=toggleElement(this.value)>";
  46.         html += "<option></option>";
  47.             html += "<option name='Square_Rectangle' value='"+divIdName+"_Square'>Square/Rectangle</option>";
  48.                 html += "<option name='Circle' value='"+divIdName+"_Circle'>Circle</option>";
  49.                     html += "<option name='Oval' value='"+divIdName+"_Oval'>Oval</option>";
  50.                         html += "<option name='Manual' value='"+divIdName+"_Manual'>Manual Entry</option>";
  51.     html += "</select>";
  52.     return html;
  53. }
  54. </script>
  55.  
  56. <script>
  57. function checkMatNumber() {
  58.     if (currentmatvalue>0)
  59.     {
  60.     hide('startmat');
  61. }
  62.     else
  63.     {
  64.     show('startmat');
  65. }
  66. }
  67. </script>
Expand|Select|Wrap|Line Numbers
  1.  
  2. <script type='text/javascript' language='javascript1.2'>
  3. initialvalue = 0;
  4. currentmatvalue = '';
  5. currentinsertvalue = '';
  6. </script>
  7.  
  8. <script type="text/javascript">
  9. function hide(name) {
  10.     document.getElementById(name).style.visibility = 'hidden';
  11. }
  12. function show(name) {
  13.     document.getElementById(name).style.visibility = 'visible';
  14. }
  15. </script>
  16.  
  17. <script type="text/javascript">
  18. function removeMat(divNum) {
  19.   var d = document.getElementById('matDiv');
  20.   var olddiv = document.getElementById(divNum);
  21.   d.removeChild(olddiv);
  22.   currentmatvalue = (currentmatvalue - 1);
  23.   checkMatNumber();
  24. }
  25. </script>
  26.  
  27. <script type="text/javascript">
  28. function StartaddMat() {
  29.   var ni = document.getElementById('matDiv');
  30.   var num = (initialvalue -1)+ 2;
  31.   currentmatvalue = num;
  32.   var newdiv = document.createElement('div');
  33.   var divIdName = 'mat'+num+'';
  34.   var matdropstring = matDrop(divIdName);
  35.   newdiv.setAttribute('id',divIdName);
  36.   newdiv.innerHTML = "<b>Mat Number <font color='red'>"+num+"</font> - STYLE:</b> "+matdropstring+" <input class='NavButton' onclick=javascript:removeMat('"+divIdName+"') type='button' value='Delete'><input id='add"+divIdName+"' name='add"+divIdName+"' class='NavButton' onclick=javascript:addMat('add"+divIdName+"');hide('add"+divIdName+"') type='button' value='Add'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input class='NavButton' id='startcutoutmat"+num+"' name='startcutoutmat"+num+"' onclick=javascript:StartaddCutout('"+divIdName+"') type='button' value='Add A Cutout'><br/><input type='hidden' name='"+divIdName+"currentcutout' id='"+divIdName+"currentcutout'><div id='"+divIdName+"cutoutDiv'></div><br/>";
  37.   ni.appendChild(newdiv);
  38.   checkMatNumber();
  39. }
  40. </script>
  41.  
  42. <script type="text/javascript">
  43. function addMat(oldMatButton) {
  44.   var ni = document.getElementById('matDiv');
  45.   var num = (currentmatvalue -1)+ 2;
  46.   currentmatvalue = num;
  47.   var newdiv = document.createElement('div');
  48.   var divIdName = 'mat'+num+'';
  49.   var matdropstring = matDrop(divIdName);
  50.   newdiv.setAttribute('id',divIdName);
  51.   newdiv.innerHTML = "<b>Mat Number <font color='red'>"+num+"</font> - STYLE:</b> "+matdropstring+" <input class='NavButton' onclick=javascript:removeMat('"+divIdName+"');show('"+oldMatButton+"') type='button' value='Delete'><input id='add"+divIdName+"' name='add"+divIdName+"' class='NavButton' onclick=javascript:addMat('add"+divIdName+"');hide('add"+divIdName+"') type='button' value='Add'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input class='NavButton' id='startcutoutmat"+num+"' name='startcutoutmat"+num+"' onclick=javascript:StartaddCutout('"+divIdName+"') type='button' value='Add A Cutout'><br/><input type='hidden' name='"+divIdName+"currentcutout' id='"+divIdName+"currentcutout'><div id='"+divIdName+"cutoutDiv'></div><br/>";
  52.   ni.appendChild(newdiv);
  53.   checkMatNumber();
  54. }
  55. </script>
  56.  
Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
  2. function removeCutout(divNum) {
  3.   var matnumber = divNum.split('cutout');
  4.   var mat = matnumber[0];
  5.   var d = document.getElementById(mat+'cutoutDiv');
  6.   var dv = d.id;
  7.   var olddiv = document.getElementById(divNum);
  8.   d.removeChild(olddiv);
  9.   var currentcutouttext = document.getElementById(mat+'currentcutout');
  10.   var currentcutoutvalue = currentcutouttext.value;
  11.   currentcutoutvalue = (currentcutoutvalue - 1);
  12.   document.getElementById(mat+'currentcutout').value = currentcutoutvalue;
  13.   checkCutoutNumber(mat);
  14. }
  15. </script>
  16.  
  17. <script type="text/javascript">
  18. function StartaddCutout(mat) {
  19.   var ni = document.getElementById(mat+'cutoutDiv');
  20.   var num = (initialvalue -1)+ 2;
  21.   var currentcutouttext = document.getElementById(mat+'currentcutout');
  22.   currentcutouttext.value = num
  23.   var newdiv = document.createElement('div');
  24.   var divIdName = mat+'cutout'+num+'Div';
  25.   newdiv.setAttribute('id',divIdName);
  26.   var shape = cutoutshape(divIdName);
  27.   newdiv.innerHTML = "<b>Please select the shape of cutout <font color='red'>"+num+"</font>:</b> "+shape+" <input class='NavButton' onclick=javascript:removeCutout('"+divIdName+"') type='button' value='Delete'><input id='"+divIdName+"Button' name='"+divIdName+"Button' class='NavButton' onclick=javascript:addCutout('"+mat+"','"+divIdName+"');hide('"+divIdName+"Button') type='button' value='Add'><div id='"+divIdName+"'></div><div style='display: none' id='"+divIdName+"_Square'>Side 1: <input id='"+divIdName+"Side1'>IN X <input id='"+divIdName+"Side2'>IN</div><div style='display: none' id='"+divIdName+"_Circle'>Radius: <input id='"+divIdName+"Radius'>IN</div><div style='display: none' id='"+divIdName+"_Oval'>Radius 1: <input id='"+divIdName+"Radius1'>IN X <input id='"+divIdName+"Radius2'>IN</div><div style='display: none' id='"+divIdName+"_Manual'>Manual Calculation: <input id='"+divIdName+"Man'>IN</div><br/>";
  28.   ni.appendChild(newdiv);
  29.   checkCutoutNumber(mat);
  30. }
  31. </script>
  32.  
  33. <script type="text/javascript">
  34. function addCutout(oldmat,mat) {
  35.   var matnumber = oldmat.split("cut");
  36.   var ni = document.getElementById(matnumber[0]+'cutoutDiv');
  37.   var currentcutoutvalue = document.getElementById(matnumber[0]+'currentcutout').value;
  38.   var num = (currentcutoutvalue -1)+ 2;
  39.   var currentcutouttext = document.getElementById(matnumber[0]+'currentcutout');
  40.   currentcutouttext.value = num
  41.   var newdiv = document.createElement('div');
  42.   var divIdName = matnumber[0]+'cutout'+num+'Div';
  43.   newdiv.setAttribute('id',divIdName);
  44.   var shape = cutoutshape(divIdName);
  45.   newdiv.innerHTML = "<b>Please select the shape of cutout <font color='red'>"+num+"</font>:</b> "+shape+" <input class='NavButton' onclick=javascript:removeCutout('"+divIdName+"');show('"+mat+"Button') type='button' value='Delete'><input id='"+divIdName+"Button' name='"+divIdName+"Button' class='NavButton' onclick=javascript:addCutout('"+oldmat+"','"+divIdName+"');hide('"+divIdName+"Button') type='button' value='Add'><div id='"+divIdName+"'></div><div style='display: none' id='"+divIdName+"_Square'>Side 1: <input id='"+divIdName+"Side1'>IN X <input id='"+divIdName+"Side2'>IN</div><div style='display: none' id='"+divIdName+"_Circle'>Radius: <input id='"+divIdName+"Radius'>IN</div><div style='display: none' id='"+divIdName+"_Oval'>Radius 1: <input id='"+divIdName+"Radius1'>IN X <input id='"+divIdName+"Radius2'>IN</div><div style='display: none' id='"+divIdName+"_Manual'>Manual Calculation: <input id='"+divIdName+"Man'>IN</div><br/>";
  46.   ni.appendChild(newdiv);
  47.   checkCutoutNumber(matnumber[0]);
  48. }
  49. </script>
Expand|Select|Wrap|Line Numbers
  1.  
  2. <script>
  3. function checkCutoutNumber(mat) {
  4.   var currentcutoutvalue = document.getElementById(mat+'currentcutout').value;
  5.     if (currentcutoutvalue>0)
  6.     {
  7.     hide('startcutout'+mat+'');
  8. }
  9.     else
  10.     {
  11.     show('startcutout'+mat+'');
  12. }
  13. }
  14. </script>
  15.  
  16. <script type="text/javascript">
  17. function removeInsert(divNum) {
  18.   var d = document.getElementById('insertDiv');
  19.   var olddiv = document.getElementById(divNum);
  20.   d.removeChild(olddiv);
  21.   currentinsertvalue = (currentinsertvalue - 1);
  22.   checkInsertNumber();
  23. }
  24. </script>
  25.  
  26. <script type="text/javascript">
  27. function StartaddInsert() {
  28.   var ni = document.getElementById('insertDiv');
  29.   var num = (initialvalue -1)+ 2;
  30.   currentinsertvalue = num;
  31.   var newdiv = document.createElement('div');
  32.   var divIdName = 'insert'+num+'Div';
  33.   newdiv.setAttribute('id',divIdName);
  34.   newdiv.innerHTML = "<b>Insert <font color='red'>"+num+"</font> Item Number:</b> <input type='text' id='"+divIdName+"_number'>  <input class='NavButton' onclick=javascript:removeInsert('"+divIdName+"') type='button' value='Delete'>          <input id='"+divIdName+"_add' name='"+divIdName+"_add' class='NavButton' onclick=javascript:addInsert('"+divIdName+"_add');hide('"+divIdName+"_add') type='button' value='Add'><br /> Insert "+num+" Type: "+insertDrop(num)+" <br /><font color='red'>If it needs to be added, enter the type here:</font> <input type='text' id='"+divIdName+"_Insert' name='"+divIdName+"_Insert'></input><br />Insert Size: <input type=text name='"+divIdName+"_size1' id='"+divIdName+"_size1'></input>IN X <input type=text name='"+divIdName+"_size2' id='"+divIdName+"_size2'></input>IN<br /><br />";
  35.   ni.appendChild(newdiv);
  36.   checkInsertNumber();
  37. }
  38. </script>
  39.  
  40. <script type="text/javascript">
  41. function addInsert(oldDivNum) {
  42.   var ni = document.getElementById('insertDiv');
  43.   var num = (currentinsertvalue -1)+ 2;
  44.   currentinsertvalue = num;
  45.   var newdiv = document.createElement('div');
  46.   var divIdName = 'insert'+num+'Div';
  47.   newdiv.setAttribute('id',divIdName);
  48.   newdiv.innerHTML = "<b>Insert <font color='red'>"+num+"</font> Item Number:</b> <input type='text' id='"+divIdName+"_number'>  <input class='NavButton' onclick=javascript:removeInsert('"+divIdName+"');show('"+oldDivNum+"') type='button' value='Delete'>          <input id='"+divIdName+"_add' name='"+divIdName+"_add' class='NavButton' onclick=javascript:addInsert('"+divIdName+"_add');hide('"+divIdName+"_add') type='button' value='Add'><br /> Insert "+num+" Type: "+insertDrop(num)+" <br /><font color='red'>If it needs to be added, enter the type here:</font> <input type='text' id='"+divIdName+"_Insert' name='"+divIdName+"_Insert'></input><br />Insert Size: <input type=text name='"+divIdName+"_size1' id='"+divIdName+"_size1'></input>IN X <input type=text name='"+divIdName+"_size2' id='"+divIdName+"_size2'></input>IN<br /><br />";
  49.   ni.appendChild(newdiv);
  50.   checkInsertNumber();
  51. }
  52. </script>
  53.  
  54. <script>
  55. function checkInsertNumber() {
  56.     if (currentinsertvalue>0)
  57.     {
  58.     hide('startinsert');
  59. }
  60.     else
  61.     {
  62.     show('startinsert');
  63. }
  64. }
  65. </script>
  66.  
[HTML]
<link rel="stylesheet" type="text/css" href="css/main.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>MTM Intranet - DCME Framebuilder</title>
</head>
<BODY>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="maintable">
<tr>
<td width="107">
<img src="images/logo.gif" width="107" height="80" border="0">
</td>
<td width="529">
<b><font size="5">Frame Builder - Options</font></b>
</td>
<td width="134" valign="middle">
<p align="center">
<img border="0" src="images/frame.gif" width="134" height="100">
</td>
</tr>
<tr>
<td colspan="3">
<table class="middle" width="100%" border="0" cellspacing="0" cellpadding="0">
</td>
</tr>
<tr>
<td class="header">
Enter the frame information here...
</td>
</tr>
<tr>
<td>
&nbsp;
</td>
</tr>
<tr>
<td>
<img src="images/line.gif" width="100%" height="1">
</td>
</tr>
<tr>
<td>
<table width="75%" border="0" align="center">
<form name="form" id="form" action="test.asp" method="post">
<table width="100%" border="1" style="border-collapse: collapse" bordercolor="#000000">
<th colspan="4" bgcolor="#CCCCCC">Basic Sizing</th>
<tr colspan="4">
<th colspan="2">Inside Dimensions</th><th colspan="2">Outside Dimensions</th>
</tr>
<tr>
<th>Side 1</th><th>Side 2</th><th>Side 1</th><th>Side 2</th>
</tr>
<tr align="center">
<td>
<input type="text" name="id1" id="id1">IN
</td>
<td>
<input type="text" name="id2" id="id2">IN
</td>
<td>
<input type="text" name="od1" id="od1">IN
</td>
<td>
<input type="text" name="od2" id="od2">IN
</td>
</tr>
<th colspan="4" bgcolor="#CCCCCC">Variable Options</th>
<tr align="center">
<td colspan="2"><b>Glass Pane Stock Size:
</b>
<select name="glass">
<option></option>
[/HTML]
Expand|Select|Wrap|Line Numbers
  1.                                         <%
  2.                                             Do While Not Recordset5.EOF
  3.                                         %>
[HTML]
<option name="glass" value="<%= Recordset5.Fields.item("JRIIT#").value %>"><%= Recordset5.Fields.item("JRID10").value %></option>
<%
Recordset5.MoveNext
Loop
%>
</select>
</td>
<td colspan="2">
<b>Foam Core:
</b>
<input type="radio" name="foamcore" id="foamcore" value="black" style="font-weight: 700">Black<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b><input checked="yes" type="radio" name="foamcore" id="foamcore" value="white" style="font-weight: 700">White<b>
</b>
</td>
</tr>
<th colspan="4" bgcolor="#CCCCCC">Molding Style</th>
<tr align="center">
<td colspan="4">
<select TabIndex="2" name="molding">
<option></option>
<%
Do While Not Recordset1.EOF
%>
<option name="molding" value="<%= Recordset1.Fields.item("JRIIT#").value %>"><%= Recordset1.Fields.item("JRID02").value %>&nbsp;&nbsp;-&nbsp;&nbsp;<%= Recordset1.Fields.item("JRID03").value %>&nbsp;&nbsp;-&nbsp;&nbsp;<%= Recordset1.Fields.item("JRID06").value %></option>
<%
Recordset1.MoveNext
Loop
%>
</select>
</td>
</tr>
<th colspan="4" bgcolor="#CCCCCC">Mat Information</th>
<tr align="center">
<td colspan="4">
<input type="hidden" value="0" id="matValue" />
<input class='NavButton' id='startmat' name='startmat' onclick='StartaddMat();' type='button' value='Add A Mat'>
<div id="matDiv">
</div>
</td>
</tr>
<th colspan="4" bgcolor="#CCCCCC">Insert Information</th>
<tr align="center">
<td colspan="4">
<input type="hidden" value="0" id="insertValue" />
<input class='NavButton' id='startinsert' name='startinsert' onclick='StartaddInsert();' type='button' value='Add An Insert'>
<div id="insertDiv">
</div>
</td>
</tr>
<tr height="100"><td colspan="4">&nbsp;</td></tr>
<tr>
<td colspan="4" align="center">
<input type="submit" id="submit" value="Make A Frame">
</td>
</tr>
</table>
<table width="100%">
<input type="hidden" name="UN" value="<%= strUN %>">
<input type="hidden" name="PW" value="<%= strPW %>">
</table>
<script type="text/javascript">
//var x=document.getElementById("form");
//for (var i=0;i<x.length;i++)
// {
// document.write(x.elements[i].value);
// document.write("<br />");
// }
</script>
</form>
</table>
</td>
</tr>
</table>
</body>
</html>[/HTML]
Nov 14 '07 #1
0 3367

Sign in to post your reply or Sign up for a free account.

Similar topics

7
3403
by: Jack | last post by:
Hi, I am trying to test a sql statement in Access which gives me the error as stated in the heading. The sql statement is built as a part of asp login verification, where the userid and password...
4
2116
by: pizzy | last post by:
INTRO: I tried to clean it up for easy reading. I hope I didn't make any mistakes. PROBLEM: WOW, this is some crazy sh!t. I can't get my checkbox (see "TAGSELECTED") to print my textboxes (see...
1
17632
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
3
2931
by: CAD Fiend | last post by:
Hello, Well, after an initial review of my database by my client, they have completely changed their minds about how they want their form. As a result, I'm having to re-think the whole process....
3
1798
by: Tyler Carver | last post by:
I am trying to use some dynamic controls that are built and then added to tables. The problem that I am having is the timing of when I can populate the controls and have the state remain after a...
1
2904
by: Joe | last post by:
Hello All, I have a user control which is composed of a label and a dropdownlist. In my code I add the user control to a placeholder on the webform. Now I want to be able to retrieve the...
3
2525
by: Dotnet Gruven | last post by:
I've built a WebForm with a Table added dynamically in Page_Load when IsPostBack is false. The table includes a couple of TextBoxes, RadioButtonLists and CheckboxLists. On postback, those...
3
2860
by: AndyHunt | last post by:
Hello, I'm having problems using LWP::UserAgent and HTTP::Request::Common when trying to retrieve a dynamic page generated by a cgi script. I've got it to the point where I receive a page, but...
3
18680
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however,...
0
7135
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7342
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7410
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5650
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3201
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
440
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.