Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/10/2008, 07:15
jonysi_d
 
Fecha de Ingreso: octubre-2007
Mensajes: 724
Antigüedad: 16 años, 7 meses
Puntos: 4
Respuesta: mensaje emergente, se puede modificar el texto???

el codigo del form es el siguiente:

<form action="<?php echo $editFormAction; ?>" method="post" name="form1" onSubmit="MM_validateForm('correo','','RisEmail',' nombreusuario','','R','web','','R','informacion',' ','R');return document.MM_returnValue">
<table align="center">
<tr valign="baseline">
<td width="115" align="right" nowrap>Correo:</td>
<td width="329"><input type="text" name="correo" value="<?php echo $_SESSION['MM_Username']; ?>" size="32">
<img src="imagenes/record.gif" alt="campo obligatorio" width="12" height="11"></td>
</tr>
<tr valign="baseline">
<td nowrap align="right">Nombre usuario:</td>
<td><input name="nombreusuario" type="text" onBlur="MM_validateForm('correo','','RisEmail','no mbreusuario','','R','web','','R','informacion','', 'R');return document.MM_returnValue" value="" size="32">
<img src="imagenes/record.gif" alt="campo obligatorio" width="12" height="11"></td>
</tr>
<tr valign="baseline">
<td nowrap align="right">Web:</td>
<td><input type="text" name="web" value="http://www." size="32">
<img src="imagenes/record.gif" alt="campo obligatorio" width="12" height="11"></td>
</tr>
<tr valign="baseline">
<td nowrap align="right">Informacion:</td>
<td><textarea name="informacion" cols="50" rows="8" onClick="MM_showHideLayers('Layer17','','show')"></textarea>
<img src="imagenes/record.gif" alt="campo obligatorio" width="12" height="11"></td>
</tr>
<tr valign="baseline">
<td nowrap align="right">&nbsp;</td>
<td><input name="submit" type="submit" value="Enviar"></td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="form1">
</form>


El usuario que rellena este formulario, si en el campo ( ppor ejemplo ) correo, se equivoca y pone una otro signo que no sea el "@" sale un mensaje de alerta :

The following error(s)ocurred:
-correo must cantain an e-mail address.

yo quiero modificar ese texto del aviso para escrivir otro tipo de aviso.

Última edición por jonysi_d; 24/10/2008 a las 07:20