Foros del Web » Programación para mayores de 30 ;) » Programación General »

Formulario dentro de email.

Estas en el tema de Formulario dentro de email. en el foro de Programación General en Foros del Web. Hola, sé que se puede hacer , porque vi este email de google adwords para pedirme datos sobre mí experiencia con google adwords xD. pero ...
  #1 (permalink)  
Antiguo 04/12/2012, 07:15
 
Fecha de Ingreso: junio-2010
Mensajes: 353
Antigüedad: 13 años, 10 meses
Puntos: 6
Formulario dentro de email.

Hola,
sé que se puede hacer , porque vi este email de google adwords para pedirme datos sobre mí experiencia con google adwords xD.

pero no tengo ni idea de cómo hacerlo, iré analizando el código a ver cómo lo han echo... pero amí si pongo <form ..etc no me salen los checkbox, ni submits ni nada.

En outlock no se ve nada (ni el de google) y en gmail me pone "Principio del formulario" y "Fin formulario", escrito tal cual.

He copiado el código que me sale de google adwords aquí..
Código HTML:
Ver original
  1. <form name="13b0b68522d0e900_request" method="post" action="http://services.google.com/helpcenter/forms/universal_survey" enctype="multipart/form-data" target="_blank" onsubmit="return window.confirm(&quot;Vas a enviar información a una página externa.\n¿Seguro que quieres continuar?&quot;);">
  2.  
  3. <input type="hidden" name="extra.IssueType" value="satisfaction">
  4. <input type="hidden" name="extra.Language" value="es_419">
  5. <input type="hidden" name="extra.survey.survey_email" value="[email protected]">
  6. <input type="hidden" name="extra.survey.survey_URL" value="http://support.google.com/adwords/bin/answer.py?hl=es-419&amp;answer=1209882">
  7. <input type="hidden" name="contact_type" value="satisfaction&amp;hl=es_419">
  8. <input type="hidden" name="extra.survey.helpcenter_id" value="177">
  9. <input type="hidden" name="extra.survey.sid" value="">
  10. <input type="hidden" name="extra.survey.sid" value="">
  11. <input type="hidden" name="extra.survey.u2u_sid" value="">
  12. <input type="hidden" name="extra.survey.request_time" value="1276810044">
  13. <input type="hidden" name="extra.confirm_url" value="http://adwords.google.com/support/aw/bin/request.py">
  14. <input type="hidden" name="validate_form" value="yes">
  15. <input type="hidden" name="extra.confirm" value="satisfaction">
  16. <input type="hidden" name="extra.survey.survey_referrer" value="email">
  17. <input type="hidden" name="extra.survey.survey_id" value="satisfaction_177">
  18. <input type="hidden" name="extra.survey.survey_logtime" value="1353096623460000">
  19.  
  20.  
  21. <fieldset style="margin-bottom:10px">
  22.     <legend>
  23.         <strong>En general, ¿cuál es su nivel de satisfacción con el sitio web de ayuda de AdWords?</strong>
  24.     </legend>
  25.     <table border="1" cellpadding="5">
  26.         <tbody><tr>
  27.             <th style="padding:10px;font-weight:normal">Extremadamente insatisfecho</th>
  28.             <th style="padding:10px;font-weight:normal">Medianamente insatisfecho</th>
  29.             <th style="padding:10px;font-weight:normal">Ligeramente insatisfecho</th>
  30.             <th style="padding:10px;font-weight:normal">Ni satisfecho ni insatisfecho</th>
  31.             <th style="padding:10px;font-weight:normal">Ligeramente satisfecho</th>
  32.             <th style="padding:10px;font-weight:normal">Medianamente satisfecho</th>
  33.             <th style="padding:10px;font-weight:normal">Extremadamente satisfecho</th>
  34.         </tr>
  35.         <tr>
  36.             <td align="center" width="14%"><label><input type="radio" name="extra.survey.how_satisfied" value="1"></label></td>
  37.             <td align="center" width="14%"><label><input type="radio" name="extra.survey.how_satisfied" value="2"></label></td>
  38.             <td align="center" width="14%"><label><input type="radio" name="extra.survey.how_satisfied" value="3"></label></td>
  39.             <td align="center" width="14%"><label><input type="radio" name="extra.survey.how_satisfied" value="4"></label></td>
  40.             <td align="center" width="14%"><label><input type="radio" name="extra.survey.how_satisfied" value="5"></label></td>
  41.             <td align="center" width="14%"><label><input type="radio" name="extra.survey.how_satisfied" value="6"></label></td>
  42.             <td align="center" width="14%"><label><input type="radio" name="extra.survey.how_satisfied" value="7"></label></td>
  43.         </tr>
  44.     </tbody></table>
  45.  
  46.  
  47. <fieldset style="margin-bottom:10px">
  48.     <legend>
  49.         <strong>¿Qué información buscaba principalmente durante su visita?</strong>
  50.     </legend>
  51.     <div>
  52.         <label><input type="radio" name="extra.survey.main_reason" value="setting_up_account" style="margin-right:10px"> Cómo configurar mi cuenta
  53.         </label>
  54.     </div>
  55.     <div>
  56.         <label><input type="radio" name="extra.survey.main_reason" value="managing_ads" style="margin-right:10px"> Cómo administrar mis anuncios
  57.         </label>
  58.     </div>
  59.     <div>
  60.         <label><input type="radio" name="extra.survey.main_reason" value="measuring_results" style="margin-right:10px"> Cómo medir mis resultados
  61.         </label>
  62.     </div>
  63.     <div>
  64.         <label><input type="radio" name="extra.survey.main_reason" value="imrpove_results" style="margin-right:10px"> Cómo mejorar mis anuncios y resultados
  65.         </label>
  66.     </div>
  67.     <div>
  68.         <label><input type="radio" name="extra.survey.main_reason" value="billing" style="margin-right:10px"> Problemas con la facturación o los pagos
  69.         </label>
  70.     </div>
  71.     <div>
  72.         <label><input type="radio" name="extra.survey.main_reason" value="contact" style="margin-right:10px"> Cómo comunicarme con la ayuda de Google
  73.         </label>
  74.     </div>
  75.     <div>
  76.         <label><input type="radio" name="extra.survey.main_reason" value="other_reason" style="margin-right:10px"> Otro motivo (especifique):
  77.         </label>
  78.         <label>
  79.             <input type="text" name="extra.survey.main_reason_other_reason_text" value="">
  80.         </label>
  81.     </div>
  82.  
  83.  
  84. <fieldset style="margin-bottom:10px">
  85.     <legend>
  86.         <strong>¿Resolvió su problema o duda al visitar el sitio web de ayuda de AdWords?</strong>
  87.     </legend>
  88.     <div>
  89.         <label><input type="radio" name="extra.survey.issue_resolved" value="yes_resolved" style="margin-right:10px">
  90.         </label>
  91.     </div>
  92.     <div>
  93.         <label><input type="radio" name="extra.survey.issue_resolved" value="no_resolved" style="margin-right:10px"> No
  94.         </label>
  95.     </div>
  96.  
  97.  
  98. <fieldset style="margin-bottom:10px">
  99.     <legend>
  100.         <strong>¿Qué tan fácil fue encontrar la información en el sitio?</strong>
  101.     </legend>
  102.     <table border="1" cellpadding="5">
  103.         <tbody><tr>
  104.             <th style="padding:10px;font-weight:normal">No fue fácil</th>
  105.             <th style="padding:10px;font-weight:normal">No muy fácil</th>
  106.             <th style="padding:10px;font-weight:normal">Ligeramente fácil</th>
  107.             <th style="padding:10px;font-weight:normal">Muy fácil</th>
  108.             <th style="padding:10px;font-weight:normal">Extremadamente fácil</th>
  109.         </tr>
  110.         <tr>
  111.             <td align="center" width="20%">
  112.                 <label>
  113.                     <input type="radio" name="extra.survey.easy_find_info" value="1">
  114.                 </label>
  115.             </td>
  116.             <td align="center" width="20%">
  117.                 <label>
  118.                     <input type="radio" name="extra.survey.easy_find_info" value="2">
  119.                 </label>
  120.             </td>
  121.             <td align="center" width="20%">
  122.                 <label>
  123.                     <input type="radio" name="extra.survey.easy_find_info" value="3">
  124.                 </label>
  125.             </td>
  126.             <td align="center" width="20%">
  127.                 <label>
  128.                     <input type="radio" name="extra.survey.easy_find_info" value="4">
  129.                 </label>
  130.             </td>
  131.             <td align="center" width="20%">
  132.                 <label>
  133.                     <input type="radio" name="extra.survey.easy_find_info" value="5">
  134.                 </label>
  135.             </td>
  136.         </tr>
  137.     </tbody></table>
  138.  
  139.  
  140. <fieldset style="margin-bottom:10px">
  141.     <legend>
  142.         <strong>En general, ¿qué opina de la información del sitio web de ayuda de AdWords?</strong>
  143.     </legend>
  144.     <table border="1" cellpadding="5">
  145.         <tbody><tr>
  146.             <th style="padding:10px;font-weight:normal">Muy mala</th>
  147.             <th style="padding:10px;font-weight:normal">Mala</th>
  148.             <th style="padding:10px;font-weight:normal">Aceptable</th>
  149.             <th style="padding:10px;font-weight:normal">Buena</th>
  150.             <th style="padding:10px;font-weight:normal">Muy buena</th>
  151.         </tr>
  152.         <tr>
  153.             <td align="center" width="20%">
  154.                 <label>
  155.                     <input type="radio" name="extra.survey.info_rating" value="1">
  156.                 </label>
  157.             </td>
  158.             <td align="center" width="20%">
  159.                 <label>
  160.                     <input type="radio" name="extra.survey.info_rating" value="2">
  161.                 </label>
  162.             </td>
  163.             <td align="center" width="20%">
  164.                 <label>
  165.                     <input type="radio" name="extra.survey.info_rating" value="3">
  166.                 </label>
  167.             </td>
  168.             <td align="center" width="20%">
  169.                 <label>
  170.                     <input type="radio" name="extra.survey.info_rating" value="4">
  171.                 </label>
  172.             </td>
  173.             <td align="center" width="20%">
  174.                 <label>
  175.                     <input type="radio" name="extra.survey.info_rating" value="5">
  176.                 </label>
  177.             </td>
  178.         </tr>
  179.     </tbody></table>
  180.  
  181.  
  182. <fieldset style="margin-bottom:10px">
  183.     <legend>
  184.         <label>
  185.             <strong>¿Tiene algún otro comentario acerca del sitio web de ayuda de AdWords?</strong>
  186.         </label>
  187.     </legend>
  188.     <p>
  189.         <textarea name="extra.survey.other_comments" cols="35" rows="4"></textarea>
  190.     </p>
  191.  
  192.  
  193. <fieldset style="margin-bottom:10px">
  194.     <legend><strong>A veces, nos volvemos a poner en contacto con las personas que completaron nuestra encuesta para comprender mejor sus respuestas. Indique a continuación si podemos comunicarnos con usted para hablar sobre sus respuestas.</strong></legend>
  195.     <div>
  196.         <label><input type="radio" name="extra.survey.can_contact" value="yes_contact" style="margin-right:10px"> Sí, pueden comunicarse conmigo.
  197.         </label>
  198.     </div>
  199.     <div>
  200.         <label><input type="radio" name="extra.survey.can_contact" value="no_contact" style="margin-right:10px"> No, no se comuniquen conmigo.
  201.         </label>
  202.     </div>
  203.  
  204. <p>
  205.     </p><div>
  206.         <input type="submit" name="Action.Send" value="Enviar">
  207.     </div>
  208. <p></p>
  209.  
  210.  
  211.  
  212. </form>

otro dato, yo uso mailchimp para el mailing masivo.


Si no se puede me gustaría algún método alternativo, la questión es recibir: Datos de los inputs(checkbox/radio) , el correo que ha echo esos clicks y ya esta

gracias de antemano

Última edición por marcwolf; 04/12/2012 a las 07:26
  #2 (permalink)  
Antiguo 05/12/2012, 04:00
 
Fecha de Ingreso: junio-2010
Mensajes: 353
Antigüedad: 13 años, 10 meses
Puntos: 6
Respuesta: Formulario dentro de email.

Para un mail masivo con enquesta, no es factible ya que muy pocos leen formularios. Así que haré un script que lea lo que han picado con intervalos de 24 horas.

Etiquetas: formulario, url
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 10:58.