Forums

[SOLVED] Pb with email @ in input field...

V@lentine 21 Dec, 2009
Hello,

I want to fill my form with data from my data base.
No problem except with emails : I get a javascript script instead with a mail to instruction...

<script language='JavaScript' type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy41941 = 'username' + '@'; addy41941 = addy41941 + 'domain' + '.' + 'fr'; document.write( '<a ' + path + '\'' + prefix + ':' + addy41941 + '\'>' ); document.write( addy41941 ); document.write( '<\/a>' ); //-->\n </script> <script language='JavaScript' type='text/javascript'> <!-- document.write( '<span style=\'display: none;\'>' ); //--> </script>Cette adresse email est protégée contre les robots des spammeurs, vous devez activer Javascript pour la voir. <script language='JavaScript' type='text/javascript'> <!-- document.write( '</' ); document.write( 'span>' ); //--> </script>


How can I change that ?

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Courriel</label>
   <input class="cf_inputbox validate-email" maxlength="150" size="30" title="" value="<?php echo $v_res["courriel"];?>" id="text_7" name="courriel" type="text" />
   </div
GreyHead 21 Dec, 2009
Hi V@lentine,

You have the Email Cloaking plug-in enabled and it's finding the email address in the validation error message.

Turn the Email Cloaking plug-in off to check and if you still need it change the order so that the ChronoForms plug in runs after the Email Cloaking plug-in (I think that's the right way round).

Bob
V@lentine 21 Dec, 2009
YES !!
Thank you VERY VERY much !
It works fine, I've changed the order.

Best regards🙂

Valentine
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger