| Author |
Message |
FatGiant New Member


Joined: Jan 09, 2005 Posts: 13
|
Posted:
Wed Nov 08, 2006 6:36 pm |
|
Hi,
I've been trying but I don't know enough to get anywhere...
Is it possible to change the dropdown box with categories in the Submit Downloads to radio buttons ?
I want the uploader to choose one of the 6 categories, and the dropdown isn't helping.
I wanted something like this...
| Code: |
echo" <p align=\"center\"><table border=\"1\" width=\"25%\">"
. " <tr>"
. " <td> </td>"
. " <td>PT-PT</td>"
. " <td>PT-BR</td>"
. " <td>Não PT</td>"
. " </tr>"
. " <tr>"
. " <td>Filmes</td>"
. " <td><input type=\"radio\" value=\"3\" checked></td>"
. " <td><input type=\"radio\" value=\"4\"></td>"
. " <td><input type=\"radio\" value=\"5\"></td>"
. " </tr>"
. " <tr>"
. " <td>Seriados</td>"
. " <td><input type=\"radio\" value=\"7\"></td>"
. " <td><input type=\"radio\" value=\"8\"></td>"
. " <td><input type=\"radio\" value=\"9\"></td>"
. " </tr>"
. " </table></p>"
."";
|
Instead of the list box...
But, in that example, they all can be selected, and, the value isn't attributed...
I am at my witts end...
Thankyou all... Yeahhh I'm n00b... |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 2853
|
Posted:
Wed Nov 08, 2006 7:18 pm |
|
All the radio buttons you want in the same group need to have the same name |
|
|
|
 |
FatGiant New Member


Joined: Jan 09, 2005 Posts: 13
|
Posted:
Wed Nov 08, 2006 7:35 pm |
|
| evaders99 wrote: | | All the radio buttons you want in the same group need to have the same name |
Thanks...One less mistake to make...
ok... that's one...
and how the heck do I assign a value to the variable ?
And wich one is it ???
hehe... I been looking at this for 2 days, am I dumb or what ?  |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 2853
|
Posted:
Wed Nov 08, 2006 10:13 pm |
|
I'm not sure exactly what you mean
| Code: |
<input type=\"radio\" name=\"variablename\" value=\"7\">
|
So if you select that radio, it should create a $variablename and set it equal to 7 |
|
|
|
 |
FatGiant New Member


Joined: Jan 09, 2005 Posts: 13
|
Posted:
Wed Nov 08, 2006 10:43 pm |
|
Thanks a Million............
Really... I made it... with your help... Thanks... |
|
|
|
 |
evaders99 Moderator

Joined: Apr 30, 2004 Posts: 2853
|
Posted:
Wed Nov 08, 2006 11:46 pm |
|
|
|
 |
FatGiant New Member


Joined: Jan 09, 2005 Posts: 13
|
Posted:
Thu Nov 09, 2006 2:23 am |
|
| evaders99 wrote: | | Glad you got it to work! |
hehe
It took me quite a while...
|
|
|
|
 |
|
|
|
|