[Zope] Image button values

Martijn Pieters mj@antraciet.nl
Wed, 10 Mar 1999 15:47:52 +0100


At 15:29 10/03/99 , you wrote: 
>Hi all,
 
>I'm using some image buttons and am having trouble getting the return values 
>for them.
 
>I have a button called answerbtn and the return values would be 'answerbtn.x' 
>and 'answerbtn.y', I need to check one of these values to check whether this
>button was pressed.
 
>I have tried _['answerbtn.x'] but I get a traceback from Zope.
 
>Any Ideas?
 
Try::

   <PRE><!--#var REQUEST.form--></PRE>

or::

   <!--#in "REQUEST.form.items()"-->
      <LI><!--#var sequence-key-->: <!--#var sequence-item-->
   <!--#else-->
      No form items
   <!--#/in-->

To generate an overview of all form variables your DTML has access to.



--
M.J. Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------