We have 2 mutiselect and 1 file field on same form.
Second multiselect is filled by #ajax on first mutiselect. It works fine if we select only one option but throws illegal choice error if select mutiple options.

Now we remove the file field from the form. Now we select single or mutiple values from multiselect, It works fie.

So multiselect cause problem with #ajax on presence on file field.

Here is code sample :- https://drupal.org/node/2229055

Comments

joshi.rohit100’s picture

Issue tags: +multiselect
debaryadas’s picture

A solution of your problem has been posted at https://drupal.org/node/2229055 . Please check it.

debaryadas’s picture

A partial solution for the above problem has been posted at https://drupal.org/node/2229055

debaryadas’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.