Hi,
Active4D 3.0 4D 2003.3 OSX.3.4 IE 5.2.3 OSX
I seem to be having a problem with submitting forms, take this snippet:
<%
import("a4d.web")
dump form variables
%><form action="/problem.a4d?u=<%= GetUniqueID %>" method="post" enctype="multipart/form-data" name="PROBLEM">
<input name="test" type="text">
<input name="imageField" type="image" src="pics/gear_ok.png">
<input type="submit" name="Submit" value="Submit">
</form>
<form action="/problem.a4d?u=<%= GetUniqueID %>" method="post" name="NOPROBLEM">
<input name="test" type="text">
<input name="imageField" type="image" src="pics/gear_ok.png">
<input type="submit" name="Submit2" value="Submit">
</form>
If you click the image submit field in form name "PROBLEM" Active4D breaks and the form contents are garbled
If you click the normal submit button everything works as expected
If you click the image submit field in the form name "NOPROBLEM" everything works as expected.
Obviously it's a problem specify the 'enctype' as "multipart/form-data" however I need to do this because I'm handling a file upload.
Any ideas, is it a bug or am I doing something wrong?
p.s.
You can break the Active4D demo by changing the form enctype of the forms.a4d file to "multipart/form-data"
_______________________________________________ Active4D-dev mailing list [EMAIL PROTECTED] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
