The form is made for users to send emails to the admin. Documents could be attached, but this is not mandatory.
I defined in "Events" an "Upload Files" action. In this action, I defined an "Event lopp" in the "OnFail" case. This is the only way I found to inform the users the uplaod has failed.
In the form there is a Text Box, defined in the validation tab as "Required" and "Email".
When an upload fails, the form is restored with the warnings of upload failure, all the fields are correctly restored, except the one for the Email address.
The box that was containing the Email adresse is filled in with:
<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy44267 = 'contact.srr' + '@'; addy44267 = addy44267 + 'sfr' + '.' + 'fr'; document.write('<a ' + path + '\'' + prefix + ':' + addy44267 + '\'>'); document.write(addy44267); document.write('<\/a>'); //-->\n </script><script type='text/javascript'> <!-- document.write('<span style=\'display: none;\'>'); //--> </script>Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. <script type='text/javascript'> <!-- document.write('</'); document.write('span>'); //--> </script>
Any idea on the reason ?
I defined in "Events" an "Upload Files" action. In this action, I defined an "Event lopp" in the "OnFail" case. This is the only way I found to inform the users the uplaod has failed.
In the form there is a Text Box, defined in the validation tab as "Required" and "Email".
When an upload fails, the form is restored with the warnings of upload failure, all the fields are correctly restored, except the one for the Email address.
The box that was containing the Email adresse is filled in with:
<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy44267 = 'contact.srr' + '@'; addy44267 = addy44267 + 'sfr' + '.' + 'fr'; document.write('<a ' + path + '\'' + prefix + ':' + addy44267 + '\'>'); document.write(addy44267); document.write('<\/a>'); //-->\n </script><script type='text/javascript'> <!-- document.write('<span style=\'display: none;\'>'); //--> </script>Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. <script type='text/javascript'> <!-- document.write('</'); document.write('span>'); //--> </script>
Any idea on the reason ?