I want to replace the use of the SQLFORM.widgets.radio.widget with a
button-group from bootstrap.

I have never created a custom widget before.

So my question is twofold:

1. How can I use the button group created in the view inside a custom form
in such a way that the result of the button clicked will be end up in the
form-vars.

or

2. Are there good guidelines on how to create a widget with this
functionality?  Reading the source code in gluon/sqlhtml.py and the
documentation in the book left me uncertain on how to approach this.



Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to