"Ian Wilson" <[EMAIL PROTECTED]> writes:
> Hello,
> As many examples as there are its still hard to find in depth
> examples. How can I set values in a MultipleSelectField at display
> time(not using default)? RIght now I have a values dictionary:
>
> values = dict(colors=[1,2])
> And I pass it into the form in the template like this:
>
> ${form(value=values)}
>
> And the MultipleSelectField is named colors.
>
> Is this correct?
You don't need "value=", you can make it simply
${form(values)}
Be seeing you,
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---