Re: django form radio input layout

2011-09-13 Thread NateB
Hello again, So, as I said in the email below, the answer I got to my "iterating radio input" question worked, but was a tad brittle (and having looked at a bunch of ways to solve this, it seemed to be more or less the best answer at the time). After having a great deal of trouble maintaining th

Re: django form radio input layout

2011-07-16 Thread CrabbyPete
I found a snippet that does what I want. http://djangosnippets.org/snippets/1377/ The documentation for it isn't great, and you have to edit it using snippet 863 as a base. His example does not work either but I got it to work like this terms = ChoiceWithOtherField( choices = [ ('a','

Re: django form radio input layout

2011-07-16 Thread CrabbyPete
Here is the closest snippet I found that works well for using 1 other field. I have 2 other fields and I guess I'll try to modify it. If you have any other snippets or suggestions please let me know. http://djangosnippets.org/snippets/863/ On Jul 14, 3:56 pm, Bill Freeman wrote: > Unless thing

Re: django form radio input layout

2011-07-14 Thread Bill Freeman
Unless things have changed, the trouble is that the individual bound fields aren't all in existence at the same time, but are created and discarded one at a time as the outer widget iterates the choices. I once uploaded a snippet for a template tag that performed the iteration, allowing finer styl

Re: django form radio input layout

2011-07-14 Thread NateB
CrabbyPete wrote: > > I am trying to do the same thing. Did you ever get a response? > I accepted an answer to the one on the stack overflow question I linked to in my previous email - however, it wasn't what I was *really* hoping for (although it definitely works). Before asking, I spent a l

Re: django form radio input layout

2011-07-14 Thread CrabbyPete
I am trying to do the same thing. Did you ever get a response? On Jun 16, 11:55 am, NateB wrote: > Hello all, > > I posted this to stackoverflow a couple weeks ago, but I have yet to get any > takers.  I was able to backburner this for a little bit, but I'd like to see > it wrapped up. > > In my