 
			
				22/04/2011, 12:47
			
			
			     |  
      |    |    |    Fecha de Ingreso: abril-2011  
						Mensajes: 3
					  Antigüedad: 14 años, 6 meses Puntos: 0     |        |  
  |      Respuesta: Boton Paypal estandar        En realidad este es el codigo html del boton estandar de paypal, como puedo validar el campo de usuario? (os1 en paypal) antes de enviar la informacion a paypal (submit = https://www.paypal.com/cgi-bin/webscr) 
Gracias por la respuesta.   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html lang="es"> 
<head> 
  <meta 
 content="text/html; charset=ISO-8859-1" 
 http-equiv="content-type"> 
  <title></title> 
</head> 
<body> 
<form 
 action="https://www.paypal.com/cgi-bin/webscr method=" post=""> 
  <div style="text-align: center;"><input 
 name="cmd" value="_s-xclick" type="hidden"><input 
 name="hosted_button_id" value="xxxxxxxxxxx" type="hidden"> 
  </div> 
  <small> </small><small> 
  </small> 
  <table 
 style="text-align: left; margin-left: auto; margin-right: auto;"> 
    <tbody> 
      <tr 
 style="color: rgb(0, 0, 99); font-family: Verdana;" 
 align="center"> 
        <td colspan="2" 
 valign="undefined"><span 
 style="font-weight: bold; text-decoration: underline;">PayPal. 
La forma rápida y segura de pagar en Internet.</span></td> 
      </tr> 
      <tr style="font-family: Verdana;" 
 align="center"> 
        <td colspan="2" 
 valign="undefined"><img 
 style="width: 100px; height: 61px;" 
 alt="La forma rápida y segura de pagar por internet." 
 src="images/logo_paypal.gif"></td> 
      </tr> 
      <tr style="font-family: Verdana;" 
 align="center"> 
        <td colspan="2" 
 style="font-weight: bold;"><input 
 name="on0" value="Number of credits" type="hidden"><small 
 style="color: rgb(0, 102, 0);">Recarga</small></td> 
      </tr> 
      <tr style="font-family: Verdana;" 
 align="center"> 
        <td colspan="2" 
 style="font-weight: bold;"> 
        <select name="os0"> 
        <option value="Recarga">Recarga 
€5,00</option> 
        </select> 
        </td> 
      </tr> 
      <tr style="font-family: Verdana;" 
 align="center"> 
        <td colspan="2" 
 style="font-weight: bold;"><input 
 name="on1" value="llevoip Username" type="hidden"><small 
 style="color: rgb(0, 102, 0);">Usuario</small></td> 
      </tr> 
      <tr 
 style="font-weight: bold; font-family: Verdana;" align="center"> 
        <td colspan="2"><input 
 name="os1" maxlength="60" type="text"></td> 
      </tr> 
      <tr style="font-family: Verdana;" 
 align="center"> 
        <td colspan="2" 
 style="font-weight: bold;"><input 
 name="on2" value="Your phone number" type="hidden"><small 
 style="color: rgb(0, 102, 0);">Télefono</small></td> 
      </tr> 
      <tr style="font-family: Verdana;" 
 align="center"> 
        <td colspan="2"><input 
 name="os2" maxlength="60" type="text"></td> 
      </tr> 
      <tr style="font-family: Verdana;" 
 align="center"> 
        <td colspan="2" 
 valign="undefined"><br> 
        <input 
 src="https://www.paypalobjects.com/WEBSCR-640-20110306-1/es_ES/ES/i/btn/btn_buynowCC_LG.gif" 
 name="submit" 
 alt="PayPal. La forma rápida y segura de pagar en Internet." 
 border="0" type="image"></td> 
      </tr> 
    </tbody> 
  </table> 
  <input name="currency_code" 
 value="EUR" type="hidden"> 
  <div style="text-align: center;"><br> 
  <div style="text-align: center;"> <img 
 alt="" 
 src="https://www.paypalobjects.com/WEBSCR-640-20110306-1/es_ES/i/scr/pixel.gif" 
 border="0" height="1" width="1"> </div> 
  </div> 
</form> 
<br> 
</body> 
</html>           |