[Zope] Multiple SUBMIT images on one form

Andrew Milton akm at theinternet.com.au
Mon Feb 6 06:25:29 EST 2006


+-------[ Richard Smith ]----------------------
| I gather that the problem whereby having more than one IMG submit on a 
| single form causes some browsers (IE but not firefox) problems is well 
| known.  The problem is solved by using the positional attributes x,y in 
| a cgi script.
| 
| However, using Zope I cannot see how to access these atributes anmd 
| certainly request.form does not appear to give me enough information to 
| assertain which button has been submitted.  I'll confess to still using 
| 2.7.2 so someone may tell me it's fixed......or is there a workaround?

Off the top of my head;

request.<name_of_image>.x should work.
request.form.<name_of_image>.x should work too.

I haven't tried this for a while though, but, it's a quick thing you can try.

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list