View Full Version : Trouble Validating; Multipart Form w/ Upload
tpereira
08-25-2010, 04:36 PM
My form is not validating - it's set to multipart and consists of a form and 2 upload fields using the new Submitted Files function that goes along with updated Universal Email 4. These are PHP files and the form is set to "post" and "multipart/form-data" and the email is submitting just fine with the files uploaded/attached to the email. However, the form does not validate at all and just submits the information. Please advise and see attached files named test.zip.
Jason Byrnes
08-26-2010, 01:12 PM
at line 143 - 152, you have the following code:
<SCRIPT language="JavaScript" type="text/javascript">
<!--
Yahoo! Inc.
var ysm_accountid = "1EF2FAPUM163M7HC2QQG7FLISQK";
document.write("<SCR" + "IPT language='JavaScript' type='text/javascript' "
+ "SRC=//" + "srv2.wa.marketingsolutions.yahoo.com" +
"/script/ScriptServlet" + "?aid=" + ysm_accountid
+ "></SCR" + "IPT>");
/
function MM_validateForm() { //v4.0
this code is causing a javascript error. change it to:
<SCRIPT language="JavaScript" type="text/javascript">
<!--
function MM_validateForm() { //v4.0
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.