I have created "Request a sample product form" using "Webforms" module. In this form I created two select box options "Color" and "Name". I use URL values to populate default values of that select boxes.
For example: http//example/node/160?color=red&name=midtown
%get[color], %get[name]
in the requested form default values are populated with the above values red and midtown respectively, when I submit form I encountered with the following error.
#
# An illegal choice has been detected. Please contact the site administrator.
Could suggest any solution?
When I use Key-value pair like name | %get[name], color | %get[color] as an option value, no default value selected then I select using drop-down then form is submitted without error but when I see form result there is no value in select field.
Could suggest any solution?