This is your HTML:

<form action="submit" method="POST">
        <input type="submit" name="do" value="delete">
        <input type="submit" name="do" value="copy">
</form>

In your script you'll check the value of the "do" variable:

class submit:
    def POST(self):
        vars = web.input()
        if vars.do == "copy":
            do_that()

Am 01.06.2013 20:27, schrieb Klerik:
> hi guys, is some simply example with multiple send buttons?
> I still dont understeand how can I do it.
> 
> Thanks
> -- 
> Klerik
> 
> -- 
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email
> to webpy+unsubscr...@googlegroups.com.
> To post to this group, send email to webpy@googlegroups.com.
> Visit this group at http://groups.google.com/group/webpy?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
http://1x-upon.com/~despens/ >NEW!<
http://noobz.cc/
http://contemporary-home-computing.org/1tb/

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to webpy+unsubscr...@googlegroups.com.
To post to this group, send email to webpy@googlegroups.com.
Visit this group at http://groups.google.com/group/webpy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to