Foros del Web » Programando para Internet » Javascript »

Ayuda por Favor!!!!!!!!!!!

Estas en el tema de Ayuda por Favor!!!!!!!!!!! en el foro de Javascript en Foros del Web. hola a todos !!!! Mi consulta es la siguiente ojala me puedan ayudar.. Tengo una pagina un formulario el cual envio los datos a un ...
  #1 (permalink)  
Antiguo 26/02/2003, 16:13
 
Fecha de Ingreso: febrero-2003
Mensajes: 6
Antigüedad: 21 años, 2 meses
Puntos: 0
Exclamación Ayuda por Favor!!!!!!!!!!!

hola a todos !!!!

Mi consulta es la siguiente ojala me puedan ayudar..

Tengo una pagina un formulario el cual envio los datos a un CGI de melodysoft, la cosa es que cuando genera el correo me envia los datos desordenados; necesisto que me puedan ayudar a que una funcion en javascript , que pueda ordenar la salida de los datos , antes de enviarlos al cgi, para que este me genere el orden exacto en que se deben ver los datos ..

Gracias por la ayuda...

Graciassssssssss!!!!!!!!! y mil Graciasssssssssssssssssss!!!!!!!!!!!!!!!!!!!!!!!!
  #2 (permalink)  
Antiguo 27/02/2003, 06:21
Avatar de KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 4 meses
Puntos: 61
Hola eupablinho!!

Desarrolla tu idea...

qué entiendes por ordenado y desordenado? o, ¿cómo querrias que aparecieran los datos? y ¿como aparecen?

Ten en cuenta que nadie de aquí ha visto ni el formulario ni como llegan los resultados...
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.
  #3 (permalink)  
Antiguo 27/02/2003, 06:27
Avatar de tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 22 años, 8 meses
Puntos: 381
(pst, yo sí los he visto )

Si no recuerdo mal el cgi de Melodychofss envía los campos en el orden en que los encuentre.

En el caso de que no lo hiciera así (ahora mismo no recuerdo) no tienes forma de indicarle el orden que tú prefieras.

Yo diría que para forzar a hacer algo así necesitarías tener acceso al propio cgi y modificarlo (cosa que no pudes)
  #4 (permalink)  
Antiguo 27/02/2003, 06:30
 
Fecha de Ingreso: febrero-2003
Mensajes: 6
Antigüedad: 21 años, 2 meses
Puntos: 0
Ordenado o desordenado??

Hola a todos!!!
Mira l que me refiero es que cuando genero el email con los datos que contiene el formulario, me los muestra en forma distinta a lo que yo necesito que salgan dentro de el..
me explico?

ej : pepe
jose
andres
asi se ven en el formulario
yo necesito cambiar el orden

ej: jose
Andres
pepe

espero que haya quedado mas claro.....

Gracias Nuevamente
  #5 (permalink)  
Antiguo 27/02/2003, 11:03
Avatar de KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 4 meses
Puntos: 61
No, si el concepto lo pillo... pero me gustaría ver el código del formulario y un ejemplo de el orden de las respuestas... tal y como dice tunait (qué tal, ser bípedo!?) lo más probable es que tome el orden de el formulario de el orden en que estén colocados en el código de la página. Si es así tal vez sea fácil hacerlo.

Un saludo!
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.
  #6 (permalink)  
Antiguo 27/02/2003, 12:09
 
Fecha de Ingreso: febrero-2003
Mensajes: 6
Antigüedad: 21 años, 2 meses
Puntos: 0
aqui va parte del codigo pr que no me alcanzo la cantidad de caracteres

<html>
<head>
<title>Reportes Diarios Genesys</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<FORM name=form action=http://www.melodysoft.com/cgi-bin/form.cgi method=post>
<INPUT name=recipient type=hidden [email protected]>
<INPUT name=redirect type=hidden value=http://TecnologiaECC>
<INPUT name=subject type=hidden value="REVISION DIARIA GENESYS">
<body>

<table width="42%" border="0" align="center">
<tr>
<td width="20%">IVR1</td>
<td width="4%"><input type="radio" name="Ivr1" value="SI"></td>
<td width="4%"> <input type="radio" name="ivr1" value="NO"></td>
<%if
%>
<td width="20%">IVR4</td>
<td width="4%"><input type="radio" name="Ivr4" value="SI"></td>
<td width="4%"><input type="radio" name="ivr4" value="NO"></td>
<td width="20%">VTO 3.1</td>
<td width="4%"><input type="radio" name="VTO 3.1 Canales" value="SI"></td>
<td width="4%"> <input type="radio" name="VTO 3.1 Canales" value="NO"></td>
</tr>
<tr>
<td width="20%">IVR2</td>
<td width="4%" ><input type="radio" name="Ivr2" value="SI"></td>
<td width="4%"> <input type="radio" name="ivr2" value="NO"></td>
<td width="20%">IVR5</td>
<td width="4%"><input type="radio" name="Ivr5" value="SI"></td>
<td width="4%"><input type="radio" name="Ivr5" value="NO"></td>
<td width="20%">VTO 3.2</td>
<td width="4%"><input type="radio" name="VTO 3.2 Canales" value="SI"></td>
<td width="4%"> <input type="radio" name="VTO 3.2 Canales" value="NO"></td>
</tr>
<tr>
<td width="20%">IVR3</td>
<td width="4%"><input type="radio" name="Ivr3" value="SI"></td>
<td width="4%"> <input type="radio" name="ivr3" value="NO"></td>
<td width="20%">Ruteador</td>
<td width="4%"><input type="radio" name="Ruteador Ivrs SIte 2" value="SI"></td>
<td width="4%"><input name="Ruteador Ivrs SIte 2" type="radio" value="NO"></td>
<td width="12%"></td>
<td width="10%"></td>
</tr>
<tr>
<td width="20%">IVR6</td>
<td width="4%"><input type="radio" name="Ivr6" value="SI"></td>
<td width="4%"> <input type="radio" name="ivr6" value="NO"></td>
<td width="20%">Integrador</td>
<td width="4%"><em>
<input type="radio" name="Integrador Ivrs Site2" value="SI">
</em></td>
<td width="4%"><input name="Integrador Ivrs Site2" type="radio" value="NO"></td>
<td width="20%"s><div align="center"><strong>StatServer</strong></div></td>
<td width="4%">&nbsp;</td>
<td width="4%">&nbsp; </td>
</tr>
<tr>
<td width="20%">IVR7</td>
<td width="4%"><input type="radio" name="Ivr7" value="SI"></td>
<td width="4%"> <input type="radio" name="ivr7" value="NO"></td>
<td width="20%">Conexion a Base Datos</td>
<td width="4%"><input type="radio" name="Conexion BD IvrS SIte2" value="SI"></td>
<td width="4%"><input name="Conexion BD IvrS Site2" type="radio" value="NO"></td>
<td width="20%">Log</td>
<td width="4%"><input type="radio" name="Revision Log Stat Server SIte3" value="SI"></td>
<td width="4%"> <input type="radio" name="Revision Log Stat Server SIte3" value="NO"></td>
</tr>
<tr>
<td width="20%">Ruteador</td>
<td width="4%"><input type="radio" name="Ruteador IvrS SIte 1" value="SI"></td>
<td width="4%"> <input name="Ruteador IvrS SIte 1" type="radio" value="NO"></td>
<td width="20%">Llamados de Prueba</td>
<td width="4%"><input type="radio" name="Llamada Prueba Canales IvrS SIte1" value="SI"></td>
<td width="4%"><input name="Llamada Prueba Canales IvrS SIte1" type="radio" value="NO"></td>
<td width="20%">Eliminacion de Log</td>
<td width="4%"><input type="radio" name="Eliminacion Log StatServer Site3" value="NO"></td>
<td width="4%"> <input type="radio" name="Eliminacion Log Interaction Router SIte3" value="SI"></td>
</tr>
<tr>
<td width="20%"> Integrador</td>
<td width="4%"><em><input type="radio" name="Integrador Ivrs Site1" value="SI"></em></td>
<td width="4%"> <input name="Integrador Ivrs Site1" type="radio" value="NO"></td>
<td width="20%">Estado de Canales</td>
<td width="4%"><input type="radio" name="EstadoCanales IvrS SIte2" value="SI"></td>
<td width="4%"><input name="EstadoCanales IvrS SIte2" type="radio" value="NO"></td>
<td width="20%">Logear Agente c/Starter</td>
<td width="4%"><input type="radio" name="Logear Agente con Starter Site3" value="SI"></td>
<td width="4%"> <input type="radio" name="Logear Agente con Starter Site3" value="NO"></td>
</tr>
<tr>
<td width="20%">Conexion a Base Datos</td>
<td width="4%"><input type="radio" name="Conexion BD IvrS SIte1" value="SI"></td>
<td width="4%"><input name="Conexion BD IvrS " type="radio" value="NO"></td>
<td width="20%"><div align="center"><strong>VTO 2</strong></div></td>
<td width="4%">&nbsp;</td>
<td width="4%">&nbsp;</td>
<td width="20%">Query para Report.(Tablas QINFO-LOGIN-STATUS)</td>
<td width="4%"><input type="radio" name="Ejecutar Query para tabla Stat Server Site3" value="SI"></td>
<td width="4%"> <input type="radio" name="Ejecutar Query para tabla Stat Server Site3" value="NO"></td>
</tr>
<tr>
<td width="20%"> Llamados de Prueba</td>
<td width="4%"><input type="radio" name="Llamada Prueba Canales IvrS SIte1" value="SI"></td>
<td width="4%"><input name="Llamada Prueba Canales IvrS SIte1" type="radio" value="NO"></td>
<td width="20%"> Estado de Canales</td>
<td width="4%"><input type="radio" name="VTOCanales SIte 2" value="SI"></td>
<td width="4%"><input name="VTOCanales SIte 2" type="radio" value="NO"></td>
<td width="20%"><div align="center"><strong>Configuration Server</strong></div></td>
<td width="4%">&nbsp;</td>
<td width="4%">&nbsp;</td>
</tr>
<tr>
<td width="20%"> Estado de Canales</td>
<td width="4%"><input type="radio" name="EstadoCanales IvrS SIte1" value="SI"></td>
<td width="4%"><input name="EstadoCanales IvrS SIte1" type="radio" value="NO"></td>
<td width="20%"><div align="center"><strong>Interaction Router</strong></div></td>
<td width="4%">&nbsp;</td>
<td width="4%">&nbsp;</td>
<td width="20%">Log</td>
<td width="4%"><input type="radio" name="Revsion Log Configuration Server Site3" value="SI"></td>
<td width="4%"> <input type="radio" name="Revsion Log Configuration Server Site3" value="NO"></td>
</tr>
<tr>
<td width="20%"><div align="center"><strong>VTO1</strong></div></td>
<td width="4%">&nbsp; </td>
<td width="4%">&nbsp;</td>
<td width="20%">Log</td>
<td width="4%"><input type="radio" name="Log Interaction Router SIte2" value="SI"></td>
<td width="4%"> <input type="radio" name="Log Interaction Router SIte2" value="SI"></td>
<td width="20%">Eliminacion de Log</td>
<td width="4%"> <input type="radio" name="Eliminar Log Configuration Server Site3" value="SI"></td>
<td width="4%"> <input type="radio" name="Eliminar Log Configuration Server Site3" value="NO"></td>
</tr>
<tr>
<td width="20%"> Estado de Canales</td>
<td width="4%"><input type="radio" name="VTOCanales SIte 1" value="SI"></td>
<td width="4%"><input name="VTOCanales SIte 1" type="radio" value="NO"></td>
<td width="20%">Eliminacion de Log</td>
<td width="4%"><input type="radio" name="Eliminacion Log Interaction Router SIte2" value="SI"></td>
<td width="4%"><input type="radio" name="Eliminacion Log Interaction Router SIte2" value="SI"></td>
<td width="20%"> Ingreso Configuration Manager</td>
<td width="4%"><input type="radio" name="Registrar Aplicacion Configuration Manager Site3" value="SI"></td>
<td width="4%"> <input type="radio" name="Registrar Aplicacion Configuration Manager Site3" value="NO"></td>
</tr>
<tr>
<td width="20%"><div align="center"><strong>Interaction Router</strong></div></td>
<td width="4%">&nbsp;</td>
<td width="4%">&nbsp; </td>
<td width="20%">Llamados de Prueba</td>
<td width="4%"><input type="radio" name="Llamados Prueba para Interaction Router SIte2" value="SI"></td>
<td width="4%"><input type="radio" name="Llamados Prueba para Interaction Router SIte2" value="SI"></td>
<td width="20%"><div align="center"><strong>Universal Routing Server</strong></div></td>
<td width="4%">&nbsp;</td>
<td width="4%">&nbsp;</td>
</tr>
<tr>
</tr>
</table>
<tr>
<td> <div align="center">
<input TYPE="Button" NAME="Enviar" VALUE="Enviar" onClick="Validar(this.form)">

<input name="Limpiar" type="reset" id="Limpiar" value="Limpiar" >
</div></td>
</tr>
</form>
</body>


</html>
  #7 (permalink)  
Antiguo 27/02/2003, 12:10
Avatar de KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 4 meses
Puntos: 61
y cómo lo envía?
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.
  #8 (permalink)  
Antiguo 27/02/2003, 12:14
 
Fecha de Ingreso: febrero-2003
Mensajes: 6
Antigüedad: 21 años, 2 meses
Puntos: 0
este s el mail que genera

Quiero darle un orden distinto!!!!!!!!!!!!!!!
me entienden ?



Nombre = Pablo Vega

HORA = 12:00

DIA = 10

MES = Febrero

ANO = 2003

####### SITE1 ####### = ####### SITE1 #######

####### SITE2 #######2 = ####### SITE2 #######

####### SITE3 ####### = ####### SITE3 #######

Ivr1 = SI

Ivr4 = SI

VTO 3.1 Canales = SI

Ivr2 = SI

Ivr5 = SI

VTO 3.2 Canales = SI

Ivr3 = SI

Ruteador Ivrs SIte 2 = SI

Ivr6 = SI

Integrador Ivrs Site2 = SI

Ivr7 = SI

Conexion BD IvrS SIte2 = SI

Revision Log Stat Server SIte3 = SI

Ruteador IvrS SIte 1 = SI

Eliminacion Log StatServer Site3 = NO

Integrador Ivrs Site1 = SI

EstadoCanales IvrS SIte2 = SI

Logear Agente con Starter Site3 = SI

Conexion BD IvrS SIte1 = SI

Ejecutar Query para tabla Stat Server Site3 = SI

Llamada Prueba Canales IvrS SIte1 = SI

VTOCanales SIte 2 = SI

EstadoCanales IvrS SIte1 = SI

Revsion Log Configuration Server Site3 = SI

Log Interaction Router SIte2 = SI

Eliminar Log Configuration Server Site3 = SI

VTOCanales SIte 1 = SI

Eliminacion Log Interaction Router SIte2 = SI

Registrar Aplicacion Configuration Manager Site3 = SI

Llamados Prueba para Interaction Router SIte2 = SI

Log Interaction Router SIte1 = SI

Revision Log URS Site3 = SI

Eliminacion Log Interaction Router SIte1 = SI

Revision Log Stat Server SIte2 = SI

Eliminacion Log URS Site3 = SI

Llamados Prueba para Interaction Router SIte1 = SI

Eliminacion Log StatServer Site2 = NO

Logear Agente con Starter Site2 = SI

Revision Log message Server Site3 = SI

Revision Log Stat Server SIte1 = SI

Ejecutar Query para tabla Stat Server Site2 = SI

Eliminacion Log Message Server Site3 = SI

Eliminacion Log StatServer Site1 = SI

Logear Agente con Starter Site1 = SI

Revision Log CallConcentrator Site2 = SI

Revision Log T-Server Site3 = SI

Ejecutar Query para tabla Stat Server Site1 = SI

Eliminar Log CallConcentrator Site2 = SI

Eliminar Log T-Server Site3 = SI

Ejecutar Query para tablas CallConcenrator Site2 = SI

Registrar Apliacion Starter Site3 = SI

Revision Log CallConcentrator Site1 = SI

Elimimar Log CallConcentrator Site1 = SI

Revision Log T-Server Site2 = SI

Revision Log DB Server Site3 = SI

Ejecutar Query para tablas CallConcenrator Site1 = SI

Eliminar Log T-Server Site2 = SI

Eliminar Log DBServer Site3 = SI

Registrar Apliacion Starter Site2 = SI

Revision Log T-Server Site1 = SI

Eliminar Log T-Server Site1 = SI

Revsion Log Configuration Server Site2 = SI

Registrar Apliacion Starter Site1 = SI

Eliminar Log Configuration Server Site2 = SI

Registrar Aplicacion Configuration Manager Site2 = SI

Revsion Log Configuration Server Site1 = SI

Eliminar Log Configuration ServerSite1 = SI

Revision Log DB Server Site2 = SI

Registrar Aplicacion Configuration Manager Site1 = SI

Eliminar Log DBServer Site2 = SI

Revision Log DB Server Site1 = SI

Respaldar Log SDialer Site 2 = SI

Eliminar Log DBServer Site1 = SI

Revision Aplicacion SDialer Site2 = SI

Revision Aplicacion ListManager SIte2 = SI

Respaldar Log SDialer Site ! = SI

Revision Aplicacion SDialer Site1 = SI

Revision Aplicacion ListManager SIte1 = SI
  #9 (permalink)  
Antiguo 28/02/2003, 10:00
Avatar de tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 22 años, 8 meses
Puntos: 381
Qué tal,

no sé si leíste la respuesta que te dí más arriba. Como parece que no la leiste, te lo volveré a explicar.


Para poder escoger el orden en el que quieres recibir los campos necesitarías tener acceso al código del CGI de Melodysoft, y ese acceso no lo tienes.

En todo caso si el cgi de Melodysoft tuviera la funcionalidad de poder escoger el orden de los campos, lo indicaría, pero yá sería una cuestión de Melodysoft.

Desde el lado cliente (el tuyo) dudo que puedas alterar el orden. Generalmente se usa el orden de inserción de los campos.

saludos
  #10 (permalink)  
Antiguo 28/02/2003, 12:06
 
Fecha de Ingreso: febrero-2003
Mensajes: 6
Antigüedad: 21 años, 2 meses
Puntos: 0
Ok !!!!

Bueno esta bien tendre que vermelas con Un cgi , de todas maneras muchas gracias a los que me ayudaron !!!!!!!!!!!!!

Espero que tyo les pueda evlver la mano algun dia!!!

Atte

Eupablinho
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:38.