Needs work
Project:
Form Builder
Version:
7.x-1.x-dev
Component:
Webform Itegration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2012 at 17:08 UTC
Updated:
5 Nov 2019 at 08:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
quicksketchThanks, good point. Form Builder doesn't yet support the pre-built list options, but it should be possible to support.
Comment #2
DrupalDan commentedHi quicksketch, thanks for your response. I'm looking forward to it!
Comment #3
stijndm commentedHi quicksketch,
How easy/difficult would this be? Could you maybe point me in the right direction. If the project allows for it I might be able to provide a patch.
Comment #4
heyyo commentedI also need this feature. As requested previously, could we get some guidelines on how and where in the code we should add it.
Thanks.
Comment #5
quicksketchI think this would need to be added to form_builder_webform_property_select_options_form() in modules/webform_form_builder.components.inc. I haven't had an opportunity to look into it.
Comment #6
bisonbleu commentedRelated issue: https://www.drupal.org/node/1532264
Comment #7
sk2013 commentedAny update on this issue please?
Comment #8
malc0mn commentedAll,
I really needed this functionality to be able to solve a big problem concerning webforms and select lists.
I have created a patch which you can find in attach, that will bring up the 'predefined option lists' to the form builder UI.
As I've never used the form_builder API before I'm not at all sure this is the right way to do it. Far from it probably, but as it might help some of you out, decided to post it anyway.
I made the patch on the 1.4 version I'm using, so not as I'm supposed to agains the 7.x-1.x-dev branch. Too little time I'm afraid :-(
Be sure to test it properly before using as it is merely a quick fix for me so that the project can move on...
Cheers,
mlc.
Comment #9
malc0mn commentedWhoa, that previous patch broke the editing form. Hadn't noticed that the 'options' tab was gone. This one fixes that issue.
mlc.
Comment #10
dagomar commentedThe patch in #9 didn't work for me, so I rolled a new one.
Comment #11
dagomar commentedDarn,
I just realised I did this patch against the 1.5 version, that's what I'm using right now in production. I have changed the version to reflect this, I guess I should do another patch against dev, although that may not be necessary. I have no time today and I probably will forget, so if anyone can test against dev, please feel free to update the version again.
Comment #12
dagomar commentedHi!
I have created a new patch that works with the latest dev. Things moved around quite a bit, but I think it looks pretty stable. Please review!
Comment #13
muschpusch commentedWorks great and the code looks good.
Comment #14
grahamcExisting patch didn't work cleanly with git apply, so re-rolled against 7.x-1.20.
Comment #15
torotil commentedNeeds a re-roll against 7.x-2.x.
Comment #16
bisonbleu commentedRe-rolled patch in #14 against 7.x-2.x.
Comment #17
bisonbleu commentedComment #18
torotil commentedIt seems to be still behind 7.x-2.x. Sorry.