ActiveScaffold: How do I set the default value for a drop down list?
Posted
by Swamy g
on Stack Overflow
See other posts from Stack Overflow
or by Swamy g
Published on 2010-05-06T00:07:04Z
Indexed on
2010/05/06
1:08 UTC
Read the original article
Hit count: 313
So I have this create form to create schedules where there is a bunch of fields and one of them is seasons. And seasons table has a field called 'is_current' which if set to 1 tells us that it is the current season. When the create form is display , I want the current season to be selected by default in the seasons drop down. Any help will be appreciated. Thanks.
© Stack Overflow or respective owner