<div>Short version: Catalyst/Formbuilder uploads work fine in firefox and chrome, works fine in IE 6... but not IE 8, where it throws an "object expected" error.</div><div><br></div><div>Long version:</div><div><br>
</div>We've got a weird situation -- Catalyst and FormBuilder work together to generate HTML for a form including file uploads -- which work fine for older Internet Explorers, but when attempting the POST using Explorer 8, instead of an upload we get the error "Object Expected line 215 char 1". If we opt not to upload anything, the rest of the fields in the form get posted just fine.<div>
<br></div><div>Line 215 is:<div><span class="HTML_TAG"><br></span></div><div><span class="HTML_TAG"><<span class="HTML_ELM">form</span> <span class="HTML_ATR">action</span>=<span class="HTML_VAL">"/incident/2129"</span> <span class="HTML_ATR">enctype</span>=<span class="HTML_VAL">"multipart/form-data"</span> <span class="HTML_ATR">id</span>=<span class="HTML_VAL">"incident"</span> <span class="HTML_ATR">method</span>=<span class="HTML_VAL">"post"</span> <span class="HTML_ATR">name</span>=<span class="HTML_VAL">"incident"</span> <span class="HTML_ATR">onsubmit</span>=<span class="HTML_VAL">"return validate_incident(this);"</span>></span><span class="HTML_TAG"><<span class="HTML_ELM">input</span> <span class="HTML_ATR">id</span>=<span class="HTML_VAL">"_submitted_incident"</span> <span class="HTML_ATR">name</span>=<span class="HTML_VAL">"_submitted_incident"</span> <span class="HTML_ATR">type</span>=<span class="HTML_VAL">"hidden"</span> <span class="HTML_ATR">value</span>=<span class="HTML_VAL">"1"</span> /></span></div>
<div><span class="HTML_TAG"><br></span></div><div><span class="HTML_TAG">The only thing there that looks like a suspect would be onsubmit="return validate_incident(this)", right?</span></div><div><span class="HTML_TAG"><br>
</span></div><div><span class="HTML_TAG">If you've run across this and know how to straighten it out, that information would be very much appreciated.</span></div><div><span class="HTML_TAG"><br></span></div><div><span class="HTML_TAG">In particular... Is there a way to fix this with a configuration arg to Catalyst (v5.80027) or to FormBuilder (v3.0501)?</span></div>
<div><br></div></div>