Dear Cazy,
Your problem statement is very generic, what I have understood is that you
are having radio buttons/checkboxes in your view (.kid) file and you want to
do something depending upon which radiobutton/checkbox(es) you have
selected.
You have to provide name and id for each item (html element) in your kid
file. And when you will submit the form, all your values will be passed to
controllers as kwargs{}. And you can extract the value for each key and do
the needful.
Shiv
2009/3/26 Cazy <[email protected]>
>
> For example:
> When I press the button, I want the controllers.py know which item I
> choose
>
> Thx a lot
> cazy
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---