possibly not the cleanest way of doing it, but this ought to do what you want.. <select name="money:int"> <option value="1000">1000 <option value="5000">5000 .. etc.. and <dtml if "money == 1000"> This is not much! <dtml-elif "money == 5000"> This is ok! <dtml-elif .. etc.. </dtml-if> -- Geir Bækholt web-developer/designer geirh@funcom.com http://www.funcom.com on Thursday, November 09, 2000 Stephan Goeldi wrote : SG> I want to select from a select menu, 3 amounts: 1000, 5000 or 10000. After SG> this, the form action method should reply: SG> - "this is not much" if 1000 was selected, SG> - "this is ok" if 5000 was selected, SG> - "this is very much" if 10000 was selected SG> Now my form method looks like this: SG> <form action="form_action"> SG> How many money? SG> <select name="money"> SG> <option>1000 SG> <option>5000 SG> <option>10000 SG> </select> SG> <input type="submit" value="checkit"> SG> </form> SG> and the form_action method is this: SG> <dtml-in money> SG> <dtml-if "1000"> SG> This is not much! SG> </dtml-if> SG> <dtml-if "5000"> SG> This is ok! SG> </dtml-if> SG> <dtml-if "10000"> SG> This is very much! SG> </dtml-if> SG> </dtml-in> SG> I am sure that there is an error in my thinking of these tags. SG> TIA SG> -goe- SG> _________________________________________________________________________ SG> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. SG> Share information about yourself, create your own public profile at SG> http://profiles.msn.com. SG> _______________________________________________ SG> Zope maillist - Zope@zope.org SG> http://lists.zope.org/mailman/listinfo/zope SG> ** No cross posts or HTML encoding! ** SG> (Related lists - SG> http://lists.zope.org/mailman/listinfo/zope-announce SG> http://lists.zope.org/mailman/listinfo/zope-dev )