Dears,
Have created a form enable to upload files.
Use default design tools and set the file format as images (jpg, png, gif).
When I test the form and try to upload a .html file, it shows a error message saying the file tyle is not allowed, and the "email" field have a msg saying the email is protected from spambots.
I don't mind to have it, but it just break the form so rare.... Is there anything I can do to avoid this?
here's the code for your reference...
Have created a form enable to upload files.
Use default design tools and set the file format as images (jpg, png, gif).
When I test the form and try to upload a .html file, it shows a error message saying the file tyle is not allowed, and the "email" field have a msg saying the email is protected from spambots.
I don't mind to have it, but it just break the form so rare.... Is there anything I can do to avoid this?
here's the code for your reference...
<div class="gcore-input gcore-display-table" id="fin-email"><input name="email" value="<span id=" cloak79679"="">This email address is being protected from spambots. You need JavaScript enabled to view it.<script type="text/javascript">
//<!--
document.getElementById('cloak79679').innerHTML = '';
var prefix = 'ma' + 'il' + 'to';
var path = 'hr' + 'ef' + '=';
var addy79679 = 'wing04' + '@';
addy79679 = addy79679 + 'gmail' + '.' + 'com';
document.getElementById('cloak79679').innerHTML += '<a ' + path + '\'' + prefix + ':' + addy79679 + '\'>' +addy79679+'<\/a>';
//-->
</script>" id="email" placeholder="" maxlength="" size="" class="validate['required','email'] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /></div>
This topic is locked and no more replies can be posted.
