473,748 Members | 2,328 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="maintabl e">
<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.as p" method="post">
<table width="100%" border="1" style="border-collapse: collapse" bordercolor="#0 00000">
<th colspan="4" bgcolor="#CCCCC C">Basic Sizing</th>
<tr colspan="4">
<th colspan="2">Ins ide Dimensions</th><th colspan="2">Out side 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="#CCCCC C">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.Fiel ds.item("JRIIT# ").value %>"><%= Recordset5.Fiel ds.item("JRID10 ").value %></option>
<%
Recordset5.Move Next
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>&n bsp;&nbsp;&nbsp ;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp ;&nbsp;&nbsp;&n bsp;&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="#CCCCC C">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.Fiel ds.item("JRIIT# ").value %>"><%= Recordset1.Fiel ds.item("JRID02 ").value %>&nbsp;&nbsp;-&nbsp;&nbsp; <%= Recordset1.Fiel ds.item("JRID03 ").value %>&nbsp;&nbsp;-&nbsp;&nbsp; <%= Recordset1.Fiel ds.item("JRID06 ").value %></option>
<%
Recordset1.Move Next
Loop
%>
</select>
</td>
</tr>
<th colspan="4" bgcolor="#CCCCC C">Mat Information</th>
<tr align="center">
<td colspan="4">
<input type="hidden" value="0" id="matValue" />
<input class='NavButto n' id='startmat' name='startmat' onclick='Starta ddMat();' type='button' value='Add A Mat'>
<div id="matDiv">
</div>
</td>
</tr>
<th colspan="4" bgcolor="#CCCCC C">Insert Information</th>
<tr align="center">
<td colspan="4">
<input type="hidden" value="0" id="insertValue " />
<input class='NavButto n' id='startinsert ' name='startinse rt' onclick='Starta ddInsert();' type='button' value='Add An Insert'>
<div id="insertDiv" >
</div>
</td>
</tr>
<tr height="100"><t d colspan="4">&nb sp;</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.getE lementById("for m");
//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 3392

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

Similar topics

7
3415
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 are input in login screen. The password in the database is a number field. I am writing the dynamic sql statement as follows below. I believe I am going wrong in the password section of the code. I appreciate any help. Thanks. Regards.
4
2151
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 "TAG#") when more than 1 number (see "VLANS") is inputed into my form. QUESTION: How do I make my dynamic form have a dynamic input box(which is created by checking the checkbox and calling the functionC1) inside it and still be able to pass the...
1
17670
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 Create a Dynamic Crosstab Report PRODUCT :Microsoft Access PROD/VER:1.00 1.10 OPER/SYS:WINDOWS
3
2941
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. My Current Form (6 tabs): - Owner, Property, Title, Docs, Queries, & Reports - User is able to see (while navigating through the tabs) above in the form : Owner Name, Address, Parcel, and SSN
3
1808
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 postback. The main question would be this: Why does this work for maintaining state after a postback for dynamic controls: myText = new Label(); myText.ID = "myText";
1
2924
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 selected value from the drop downlist when a user clicks a button server control. Here is the code that populates the user control and placeholder: Dim UControl As AugmentedDropDownList =
3
2542
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 controls are not present nor their valves in Request.Form.AllKeys.
3
2876
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 it has none of the dynamic content, and it has several sections that say: "WARNING: YOUR BROWSER DOESN'T SUPPORT THIS SERVER-PUSH TECHNOLOGY" Now, a bit of googling has narrowed it down, and I think the problem is that the LWP::* and HTTP::*...
3
18715
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, working with complex reports is tricky Assumption: Reader of this article have basic knowledge of creating data reports. Creating a Parent-Child Command and create a DataReport Suppose we have a database called company with two tables ...
0
8983
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9528
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9359
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9310
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8235
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4592
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3298
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 we have to send another system
2
2774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.