Forms methods and IE 5.5
Hi, I have tried to use several buttons in the same <FORM>, with the following syntax : <form action="" method="POST"> ... <input type="submit" name="append_item:method" value="Add Item"> <input type="submit" name="index_html:method" value="Show list"></td> </form> This works fine with Konqueror and Netscape, but not with Opera or IE 5.5 : with these browsers, it's the current URL which is called when the second button is clicked. Does anybody knows where this problem comes from ? Is this a standard HTML feature which is not well supported by these browsers ? Is there any way to get this working correctly ??? Thanks for any help... Thierry
Fill action with <dtml-var absolute_url> and it should work. Thierry Florac schrieb:
Hi,
I have tried to use several buttons in the same <FORM>, with the following syntax :
<form action="" method="POST"> ... <input type="submit" name="append_item:method" value="Add Item"> <input type="submit" name="index_html:method" value="Show list"></td> </form>
This works fine with Konqueror and Netscape, but not with Opera or IE 5.5 : with these browsers, it's the current URL which is called when the second button is clicked.
Does anybody knows where this problem comes from ? Is this a standard HTML feature which is not well supported by these browsers ? Is there any way to get this working correctly ???
Thanks for any help...
Thierry
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Thierry Florac writes:
I have tried to use several buttons in the same <FORM>, with the following syntax :
<form action="" method="POST"> ... <input type="submit" name="append_item:method" value="Add Item"> <input type="submit" name="index_html:method" value="Show list"></td> </form>
This works fine with Konqueror and Netscape, but not with Opera or IE 5.5 : with these browsers, it's the current URL which is called when the second button is clicked. Konqueror and Netscape are wrong, IE and Opera are right:
the empty URL reference references the current document Others already told you how to work around the problem. Dieter
participants (3)
-
Dieter Maurer -
Dirk Datzert -
Thierry Florac