Getting radio/checkbox values
-
Hi,
I’m using a checkbox in my form, but I’m only getting a “1” value when checkbox is checked, instead of actuel checked value.
here is a sample :
[checkbox* checkbox-91 label_first exclusive "Madame" "Monsieur"]
And here is the plugin output :
[checkbox-91] => 1
I would expect something like that :
[checkbox-91] => "Madame"
Is there something wrong with my code ? How can I get actual values ?
Many thanks,
CyrilPS : same thing goes with radio buttons :
[radio radio-496 label_first "Permanent" "Ponctuel"]
output :
[radio-496] => 1
instead of (example) :
[radio-496] => "Permanent"
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Getting radio/checkbox values’ is closed to new replies.