Hi everyone,
I have a form that contains a SELECT field named chkProduto2 with the "multiple" option enabled.
How could PHP read the selected options in this field?
Note.: I cant rename my field to "chkProduto2[]" because my Javascript validation will not work correctly.
Cheers
Rodrigo Caldeira
SELECT field in a HTML form
Moderator: General Moderators
-
rodrigocaldeira
- Forum Commoner
- Posts: 27
- Joined: Wed Mar 05, 2003 6:40 pm
- Location: Brazil
- Contact:
-
rodrigocaldeira
- Forum Commoner
- Posts: 27
- Joined: Wed Mar 05, 2003 6:40 pm
- Location: Brazil
- Contact:
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
there's no need to have Javascript rename the field. If you correctly reference the field in the first place, it's name doesn't matter much.
viewtopic.php?t=25976
viewtopic.php?t=25976