Results 1 to 1 of 1
Thread: DropDownList - how to customise
Oct 20, 2007, 01:35 #1
- Join Date
- Sep 2007
- 0 Post(s)
- 0 Thread(s)
DropDownList - how to customise
I was wondering if anyone could explain how to format my DropDownList.
I'm building a football prediction site and each week a new game is chosen. Users are displayed with the match details (i.e. home team, away team, date/time, etc) and they get to select the score (2 x TextBox) and one anytime scorer (DropDownList).
Depending on the teams, the DropDownList is then populated by all the players from both teams from my database. Currently, it works fine (so far) but it looks a bit messy.
I need to add two things:
1) To make a default value "None" (no scorer selected in the case of a 0-0 draw)
2) To split the list into "Home team" and "Away team", eg:
thanks for any help