Hi jacob, i am trying to do the same thing, did you find a solution for this?
On Saturday, April 27, 2019 at 4:20:10 AM UTC+2 Jacob wrote: > Thank you for the response it appears that they do have the same name . > I'm sorry I'm still new to programming in general, I've read around about > how to use append but I'm failing to understand how it can be applied to > the radio widget function which looks like this > > > - def radio_widget(field,value,**kwargs): > - return SQLFORM.widgets.radio.widget(field,value,**kwargs) > > > Please if you are able to help guide me further I'll be very grateful. > > > Thursday, April 25, 2019 at 9:58:22 PM UTC+1, Dave S wrote: > >> >> >> On Wednesday, April 24, 2019 at 4:16:56 PM UTC-7, Jacob wrote: >>> >>> Hello I'm still new to web2py and I'm currently working on an a grid >>> which utilises basic inline editing using the example from >>> http://www.web2pyslices.com/slice/show/1928/basic-inline-editing-in-sqlformgrid-no-plugin-no-javascript >>> >>> >>> When I change the options widget to a radio widget for some reason only >>> one value for a whole set of seperate records can be selected rather than >>> each record having only 1 radio button field selected. In other words a >>> record has 4 possible values and they are displayed in a grid and can be >>> edited there is a field with a set which I'm trying to use radio buttons >>> for instead of a drop down menu. When I press a value for the first record >>> this is fine when I move onto the record beneath it the radio button value >>> is selected however the first one becomes empty and this carries on >>> throughout all the records on the grid only 1 field can be selected at a >>> time. If someone could help me please I would be very grateful. >>> >> >> My first thought is that you've got a bunch of buttons with the same >> name. You can check this fairly easily by using your browser's inspect >> tool, and looking at the buttons for name=. If that's the case, then >> you need to work out a way for each item's buttons to get a unique name; >> perhaps append item.id on the end of the name. >> >> /dps >> >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/8e48fbb0-488f-4f38-85e5-80eac0d0999an%40googlegroups.com.

