Here's the html form:
<?php
global $my,$mosConfig_live_site;
// verifica se o utilizador fez login
// o nome e email são preenchidos automáticamente e definidos como read only
$readonl="";
if ($my->id) {
$readonl=" readonly='readonly'";
} else {
}
?>
<table width="500" cellspacing="5">
<tr><td valign="middle"><label for="nome">Nome</label></td>
<td valign="middle"><input name="nome" type="text" id="nome" value="<?php echo $my->name?>"<?php echo $readonl?> /></td></tr>
<tr><td valign="middle"><label for="email">Email</label></td>
<td valign="middle"><input name="email" type="text" id="email" value="<?php echo $my->email?>"<?php echo $readonl?> /></td></tr>
<tr><td valign="middle"><label for="telefone">Telefone</label></td>
<td valign="middle"><input name="telefone" type="text" id="telefone" /></td></tr>
<tr><td valign="top"><label for="detalhes">Detalhes</label></td>
<td valign="top"><textarea name="detalhes" rows="10" cols="60" id="detalhes">Exponha o caso da forma mais detalhada possÃvel</textarea></td></tr>
<tr>
<td valign="middle"><label for="anexos">Anexos</label></td>
<td valign="middle"><input type="file" name="anexos" id="anexos" /></td></tr>
<tr><td valign="middle"><label for="verificacao">Verificação</label></td>
<td valign="middle"><!-- os utilizadores registados não vêem esta opção -->
<?php if(!$my->id){ ?>
{imageverification}
<?php } ?></td></tr>
<tr><td valign="middle"> </td>
<td valign="middle" align="right"><input type="submit" value="Enviar" class="button"> <input type="reset" value="Limpar" class="button" /></td></tr>
</table>
Although, after login, i access the form and see my name on name field, but on email field it appears the following text:
<script language='JavaScript' type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy76239 = 'piodesign' + '@'; addy76239 = addy76239 + 'gmail' + '.' + 'com'; document.write( '<a ' + path + '\'' + prefix + ':' + addy76239 + '\'>' ); document.write( addy76239 ); document.write( '<\/a>' ); //-->\n </script><script language='JavaScript' type='text/javascript'> <!-- document.write( '<span style=\'display: none;\'>' ); //--> </script>Este endereço de e-mail está protegido contra spam bots, pelo que o JavaScript terá de estar activado para que possa visualizar o endereço de e-mail <script language='JavaScript' type='text/javascript'> <!-- document.write( '</' ); document.write( 'span>' ); //--> </script>
In the text above it appears a phrase in portuguese: "Este endereço de e-mail está protegido contra spam bots, pelo que o JavaScript terá de estar activado para que possa visualizar o endereço de e-mail". The translation is: "This email address is protected against sapm bots, you must activate javascript in order to see this email address".This same text appears on the email template where {email} should appear.
What can i do?
Thanks,
Sofia<br><br>Post edited by: GreyHead, at: 2008/03/10 01:30
Loks like you are using the ChronoForms mambot and you also have the Email Cloaking mambot on. It's doing what it's supposed to do and cloaking the email.
If you put ' {emailcloak=off} ' - with the spaces but no quotes - on the same page where you have the {chronocontact} tags all should be OK.
Bob
I've done like you said, edit the content item where i have the chronoforms tags, and add {emailcloak=off}.
I worked great. I just needed to put {emailcloak=off} inside a div, and define it's class with visibily: hidden; so it won't appear in the middle of the text.
Thanks a lot.
Sofia
It shouldn't appear at all, mambot codes shouldn't show up at all . . . mysterious, but yes hidden div will hide it away.
Bob
PS I only discovered this fix today trying to solve the same problem for a client who didn't want to turn email cloaking off.<br><br>Post edited by: GreyHead, at: 2008/03/10 01:54