Thanks - your reply helped me see how it works.
I did not realize that web2py just puts the name of *only* the
selected radio button
in request.vars.
I had been looking for all 3 of my radio buttons, assuming there would
be
a checked=true attribute on one of them.
But instead, just the presence of the radio button name in
request.vars
after form validation means that is the one that was selected.
It seems that the virtual table is mostly for internal use in web2py
except
its schema might be useful for looping through the list of controls.

On Oct 5, 10:11 am, monotasker <[email protected]> wrote:
> When the form is submitted, each field value is returned as a variable of
> the response object. So if you give a name to your radio button ("foo") then
> all you have to do is access response.vars.foo to get the value.
>
> (I'm assuming that myFieldlist is a collection of field definitions in which
> you define and name the radio button field)

Reply via email to