swampopus
swampopus
I think this is related to an issue I posted on backdrop-issues (I didn't know where to post my issue): https://github.com/backdrop/backdrop-issues/issues/6988 I kind of have a possible idea to make...
@indigoxela Ah, I see what you mean. This may add some extra overhead, but I could imagine in the foreach loop starting here: https://github.com/backdrop-ops/backdropcms.org/blob/2de21aeff91fe1901a7dced9ef874b9c23a547c8/www/modules/custom/borg_pbs/borg_pbs.module#L157 where we are foreach'ing through the...
I found a similar issue here: https://github.com/backdrop-ops/backdropcms.org/issues/1093, so I figured I'd see if anyone wanted me to bring it back up. I mainly don't want to be a nuisance if...
Hmm. I appreciate your honesty in what sort of effort it might take. If I have the time, I might experiment with code changes and potentially submit a PR, and...
Hello, I know this is old, but I needed this exact functionality (and I didn't see it anywhere else), so I created a module to accomplish it: https://github.com/backdrop-contrib/allowed_values_function I agree...
I know-- I just caught it myself. Dumb mistake on my part. The latest version (1.0.2) is clean.
You're right, but the only way I could get form_set_error to work was like this: form_set_error('field][settings][allowed_values_function'...... Which I thought wasn't any better than just using form_error. The test() function was...
Oh, sorry, didn't ready carefully enough. Let me see what I can do.
Well, it's probably a good idea to do it the "backdrop way" anyway.
Okay! I think this first version 1.0.x is cleaned up now. I'm going to re-paste its link here for anyone coming off Google. https://github.com/backdrop-contrib/allowed_values_function