Quote:
Originally posted by Rip
...I have a simple form with user choices
1; value = 'nochoice'
1; value = 'yes'
1; value = 'no'
...
|
Remember, option choices are not assigned to 'value', but to the NAME of the selection. Also, all your values are being stored in a hashed array- %field.
In other words, if you have 'SELECT NAME="selection" ', you need to use:
if ($field{'selection'} ne "nochoice") {$modifyfield = 26; $searchtext eq $field{'selection'};}
(edit to remove that second instance of $value, since it is never assigned. )