Hello,

I've been using Backdrop for a week now, and in general it seems pretty solid. I've successfully ported a custom template from a non-profit D7 site and it's 99% there.

One thing that's missing for me is the CCK Select Other module. I tried porting the D7 version but I keep getting an illegal value error when I enter an 'other' value on a select list.

Like I said I'm really new to backdrop so I'm not sure how to solve the problem. I get an error on the page, but not error in the log, so I'm not sure how to move forward. 

Is there a module that exists that can do this? or it would be great if Backdrop added it to their queue to be ported.

Thanks,

https://www.drupal.org/project/cck_select_other

Comments

I thought that would do the same thing, but it only seems to work on user facing select lists. It doesn't work on a content type select list widget.

You're right. Sorry about that.

There is this module, but there is no release and I'm not sure if it works - I did a quick test and it doesn't seem to

https://github.com/backdrop-contrib/select_other

You'll need to install using the Manual install method as there is no release (yet).

An alternative approach is to use Conditional Fields; this is how I normally do such things if needed.

Cool, thanks, I'll check out both those options.

An alternative is to port the other module - porting takes a bit of knowledge of "under the hood" stuff, so I suggest you start with that, and post questions in the Backdrop Zulip channel whn you get stuck. The Forum is not the best place to get development answers. 

I did try porting it as I mentioned, I got the "other" option to show up in my select lists, but when I tried to do the other entry, I'd get an error that said  "Illegal value" and I wasn't sure how to proceed further.

I appreciate you mentioning the zulip channel, but the last thing I need is another chat app.

"Illegal value" can mean a hundred things. If you want help with it, please  provide additional info about the error. You can check the error log to see how that came to be.  But as I said, you probably won't get development help here. Of course it's up to you - many people here just build sites, rather than attempt to port modules, which will required for you to tap into more resources.

Fair enough. 

I did check the error logs and nothing showed up.