on or about, Thursday, May 09, 2002, we have reason to believe that John Hunter wrote something along the lines of : [snip] JH> But I realize that I can process these in the add function, with JH> if somevar=='Update Form': JH> somevar=0 JH> elif somevar=='Add Event': JH> somevar=1 JH> else: JH> raise 'Did you change the value of your add form buttons and forget to change your add function again?' JH> Not the cleanest design, because if you want to change the text of the JH> button you have to remember to change your add form, but it should JH> work. - This design is slightly flawed , because many people , including myself , often submit forms by pressing [enter]. In this case , neither of the values from the submitbuttins are sent, and your application will raise 'Did you change ..... you might want to let the else:clause point to one of your options , if one can be considered a default.. :-) -- Geir Bækholt web-developer geirh@funcom.com funcom oslo | webdev-team