Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Forms - Widget - Radioselect - how to set initial value on a static form [RSS Feed]

#1 June 23, 2010 02:46:56

R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Forms - Widget - Radioselect - how to set initial value on a static form


I can't seem to find documentation on this anywhere, so I imagine
someone must have run into this.

if I had a radioselect Yes / No and I wanted the default value to be
'No', but I'm not loading this data from a database or anything, is
there a method to just insert an initial value so that the html comes
out as <option selected = True>No</option>

?

Any ideas? This is so basic it's killing me.

--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Forms - Widget - Radioselect - how to set initial value on a static form [RSS Feed]

Board footer

Moderator control

Enjoy the 15th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support