Ver Mensaje Individual
  #6 (permalink)  
Antiguo 10/09/2009, 18:01
fapostol
 
Fecha de Ingreso: septiembre-2009
Mensajes: 9
Antigüedad: 15 años, 2 meses
Puntos: 0
Respuesta: problema con envio de variables por mail

perfecto ahora si me envia las variables movi de lugar
la linea
<form action="ipse.com.ve/enviar.php" method="post" name="q_form_90914941688">
pero ahora no me envia las variables "league" y la variable "team" que es el codigo

Código:
<script type="text/javascript">
var hpc = new Array("Victor Ojeda")
var msa = new Array("Jose farias")
var hdl = new Array("Gilmer Henriquez")
var ha = new Array("Julian Chavez")
var hjm = new Array("Samuel Doctor")
var hlo = new Array("Xavie Quintana")
var hcm = new Array("Sixto Caroni")
var hsc = new Array("Sixto Caroni")
var almacen = new Array("Almacen")
function loadList(which) {
  var theList = eval(which);
  document.theForm.team.options.length = theList.length;
  for (i=0; i<theList.length; i++) {
    document.theForm.team.options[i] = new Option(theList[i], theList[i]);
  }
}
function resetLists() {
  loadList("hpc");
  document.theForm.league.options[0].selected = true;
}
window.onload = resetLists;

<html>
<head>




<title>Solicitud de Material</title>

<script type="text/javascript">
var hpc = new Array("Victor Ojeda")
var msa = new Array("Jose farias")
var hdl = new Array("Gilmer Henriquez")
var ha = new Array("Julian Chavez")
var hjm = new Array("Samuel Doctor")
var hlo = new Array("Xavie Quintana")
var hcm = new Array("Sixto Caroni")
var hsc = new Array("Sixto Caroni")
var almacen = new Array("Almacen")
function loadList(which) {
var theList = eval(which);
document.theForm.team.options.length = theList.length;
for (i=0; i<theList.length; i++) {
document.theForm.team.options[i] = new Option(theList[i], theList[i]);
}
}
function resetLists() {
loadList("hpc");
document.theForm.league.options[0].selected = true;
}
window.onload = resetLists;
</script>

</head>

<body>

<table width="600" border="1">
<tr>
<td><div align="center"><strong>Requisicion de Materiales</strong></div></td>
</tr>
</table>
<table width="600" border="1">

<tr>
<td width="260"><strong>Fecha de Pedido</strong> (<em>La entrega sera efectuada 7 dias despues de la solicitud</em>) </td>

<td width="224"><script languaje="JavaScript">





var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("Domingo","Lunes","Martes","Miercoles","Juev es","Viernes","Sabado")
var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Ju nio","Julio","Agosto","Septiembre","Octubre","Novi embre","Diciembre")
document.write("<strong><small><font color='000000' face='Arial'>"+dayarray[day]+" "+daym+" de "+montharray[month]+" de "+year+"</font></small></strong>")


</script>

</td>
</tr>
</table>
<table width="600" border="1">
<tr>
<td><form name="theForm" method="post" action="echo_post.php">
<form action="pse.com.ve/enviar.php" method="post" name="q_form_90914941688">
Obra Solicitante:
<select name="league" onchange="loadList(this.options[this.selectedIndex].value)" size="1">
<option value="hpc">Hospital Perez Carreno</option>
<option value="msa">Maternidad Santa Ana</option>
<option value="hdl">Hospital Domingo Luciani</option>
<option value="ha">Hospital Algodonal</option>
<option value="hjm">Hospital JM de los Rios</option>
<option value="hlo">Hospital Luis Ortega Porlamar</option>
<option value="hcm">Hospital Central de Maracay</option>
<option value="hsc">Hospital de San Carlos</option>
<option value="almacen">Almacen</option>
</select>
Encargado:
<select name="team" size="1"></select>
</form> </td>
</tr>
</table>
<form action=".ipse.com.ve/enviar.php" method="post" name="q_form_90914941688">
<table width="600" border="1">
<tr>
<td width="398"><div align="center"><strong>Descripcion del Material</strong></div></td>
<td width="89"><div align="center"><strong>Cantidad</strong></div></td>
<td width="91"><div align="center"><strong>Unidad</strong></div></td>
</tr>
</table>
<table width="600" border="1">
<tr>
<td width="401"><input type="text" size="60" name="pedido1" class="text" value="" maxlength="60" maxsize="60" /> </td>

<td width="88"><input type="text" size="9" name="cant1" class="text" value="" maxlength="9" maxsize="9" /> </td>
<td width="89"><input type="text" size="9" name="unidad1" class="text" value="" maxlength="9" maxsize="9" id="unidad1" /> </td>
</tr>
<tr>
<td width="401"><input type="text" size="60" name="pedido2" class="text" value="" maxlength="60" maxsize="60" /> </td>
<td width="88"><input type="text" size="9" name="cant2" class="text" value="" maxlength="9" maxsize="9" /> </td>
<td width="89"><input type="text" size="9" name="unidad2" class="text" value="" maxlength="9" maxsize="9" id="unidad1" /> </td>
</tr>
<tr>
<td width="401"><input type="text" size="60" name="pedido3" class="text" value="" maxlength="60" maxsize="60" /></td>
<td width="88"><input type="text" size="9" name="cant3" class="text" value="" maxlength="9" maxsize="9" /> </td>
<td width="89"><input type="text" size="9" name="unidad3" class="text" value="" maxlength="9" maxsize="9" id="unidad1" /> </td>
</tr>
<tr>
<td width="401"><input type="text" size="60" name="pedido4" class="text" value="" maxlength="60" maxsize="60" /> </td>
<td width="88"><input type="text" size="9" name="cant4" class="text" value="" maxlength="9" maxsize="9" /> </td>
<td width="89"><input type="text" size="9" name="unidad4" class="text" value="" maxlength="9" maxsize="9" id="unidad1" /> </td>
</tr>
<tr>
<td width="401"><input type="text" size="60" name="pedido5" class="text" value="" maxlength="60" maxsize="60" /> </td>
<td width="88"><input type="text" size="9" name="cant5" class="text" value="" maxlength="9" maxsize="9" /> </td>
<td width="89"><input type="text" size="9" name="unidad5" class="text" value="" maxlength="9" maxsize="9" id="unidad1" /> </td>
</tr>
<tr>
<td width="401"><input type="text" size="60" name="pedido6" class="text" value="" maxlength="60" maxsize="60" /> </td>
<td width="88"><input type="text" size="9" name="cant6" class="text" value="" maxlength="9" maxsize="9" /> </td>
<td width="89"><input type="text" size="9" name="unidad6" class="text" value="" maxlength="9" maxsize="9" id="unidad1" /> </td>
</tr>
<tr>
<td width="401"><input type="text" size="60" name="pedido7" class="text" value="" maxlength="60" maxsize="60" /> </td>
<td width="88"><input type="text" size="9" name="cant7" class="text" value="" maxlength="9" maxsize="9" /> </td>
<td width="89"><input type="text" size="9" name="unidad7" class="text" value="" maxlength="9" maxsize="9" id="unidad1" /> </td>
</tr>
<tr>
<td width="401"><input type="text" size="60" name="pedido8" class="text" value="" maxlength="60" maxsize="60" /> </td>
<td width="88"><input type="text" size="9" name="cant8" class="text" value="" maxlength="9" maxsize="9" /> </td>
<td width="89"><input type="text" size="9" name="unidad8" class="text" value="" maxlength="9" maxsize="9" id="unidad1" /> </td>
</tr>
<tr>
<td width="401"><input type="text" size="60" name="pedido9" class="text" value="" maxlength="60" maxsize="60" /> </td>
<td width="88"><input type="text" size="9" name="cant9" class="text" value="" maxlength="9" maxsize="9" /> </td>
<td width="89"><input type="text" size="9" name="unidad9" class="text" value="" maxlength="9" maxsize="9" id="unidad1" /> </td>
</tr>
</table>


<input type="submit" class="btn" value="Enviar" />

</form>

</body>
</html>


con respecto a lo del accesorio, tratare de acomodarlo gracias por ese dato :)