Seems like you only get the illegal value when there are 3 steps and the select(or other) field is on the first step.

Kinda hard to explain. So basically when other is selected you can't submit the form because it says you have entered an illegal value.

Comments

chrislabeard’s picture

It has to be something with allowed values. Cause If I enter "Test" in the allowed values and then use that in the other text field it will pass fine.

danielb’s picture

steps? what are you talking about?

chrislabeard’s picture

I'm using the mutli step module.

danielb’s picture

Priority: Normal » Minor

:/

brycefisherfleig’s picture

I'm having the same issue. Is there a way to disable "Allowed Values"?

chrislabeard’s picture

So this would be awesome If i could get it to work with multi step any ideas would be awesome.

chrislabeard’s picture

Priority: Minor » Normal

On my form I am getting an illegal value on all my select or other fields. I've disabled multi step. Users cannot complete form because it will not pass validation.

chinita7’s picture

I have the same problem and I even didn't realize until read this thread why all the select or other fields are throwing "illegal value" error. I can't disable Multi step module this time so looks like I will have to uninstall select or other module.

chrislabeard’s picture

Priority: Normal » Major

I'm unable to collect any application on my online form and the client will not budge on having this functionality :-(

It seems like select or other it saving the values but when you go to additional steps it tries to re submit it self or something not 100%.

mattyohe’s picture

Priority: Major » Minor

The maintainer set the priority to minor, and you've crept it back up to major?

Why not offer a bounty or something if it's majorly important to you?

chinita7’s picture

I eventually ended up using conditional field. It makes another field but something similar can be achieved and works with Multi step module.

chrislabeard’s picture

We are willing to pay for someone to help us remedy this issue. Just email me at chris@ideasbynature.com with how much it would be and we will work something out.

danielb’s picture

Status: Active » Closed (cannot reproduce)

I just did some testing with the multistep module and I haven't encountered this bug. It might have been a related bug that was fixed since this issue was created. I do see a lot of unresolved bugs in the multistep module issue queue so it is also possible you are experiencing a multistep bug.
If you can show that select_or_other is doing something wrong, please reopen with code samples or a patch.

WoozyDuck’s picture

Same here

marleo’s picture

Same problem here. Tried changing steps etc, no luck.

One thing I noticed was that I could go forward to next step, but couldn't go back to the step with the select_or_other field. Ie, field is on step 1, click next (no problem), fill out some fields on step 2, click previous, error (illegal value etc message).

select_or_other 6.x-2.12 (latest)
multistep 6.x-1.5 (latest)

Switched to cck_select_other module, now working fine.

danielhonrade’s picture

Illegal value when clicking button #edit-done (this final button for multistep)

danielhonrade’s picture

When changing the Done button to something else, like "Submit (Final)", this causes an illegal value...

So my simple solution is just this:

  $('#edit-done').click(function() { 
    $(this).val('Save');
  });