Hi, there is a radio select widget for Django Forms -> http://docs.djangoproject.com/en/dev/ref/forms/widgets/
On Sat, Dec 11, 2010 at 12:59 AM, yiftah <yifta...@hotmail.com> wrote: > hi > > I want to create a form with django that has a radio selection that > looks like > > <input type="radio" name="inv_range_flag" value="0" checked> Entire > Range (as in the file)<br> > <input type="radio" name="inv_range_flag" value="1"> Specified > Range: > <H>Starting time</H> > <input type="text" size="5" value="1"> > <H>Ending time</H> > <input type="text" size="5" value="100"><br> > <input type="radio" name="inv_range_flag" value="2"> Maximum > Temperature (Δ<i>T<sub>M</sub></i>) only, with > <select> > <option>Savitzki-Golay</option><!--pass string "SG"--> > <option>polynomial</option><!--pass string "pol"--> > <option>no</option><!--pass string "none"--> > </select> > > any idea how to write the form class to represent this? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: ilian.i-n-i.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.