Closed (fixed)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2017 at 11:12 UTC
Updated:
4 Jul 2017 at 08:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gurvan commentedComment #3
jrockowitz commentedI think this list of options is very useful but too specific to be included in the Webform module, so I created this documentation page where additional options can be listed.
Comment #5
jrockowitz commentedI think this list of options is very useful but too specific to be included in the Webform module, so I created this documentation page where additional options can be listed.
Comment #7
gvigroux commentedThe documentation is not available anymore (404) How to import additional options?
Comment #8
jrockowitz commentedDocumentation was updated a few week ago
@see https://www.drupal.org/docs/8/modules/webform/webform-cookbook
@see https://www.drupal.org/docs/8/modules/webform/webform-8x-5x-cookbook/opt...
Comment #9
gvigroux commentedI looked at the documentation and it's still not clear to me :). I found the section with the yml file but I don't know how to
add webform.webform_options.french_departments.yml into the autocomplete list.
Should I add the file to the "config\install" directory and install webform again?
Enlarging the discussion, I need to add a custom autocomplete text field: the list of France' cities which are today in my database in a specific table. What is the best way to do it with Webform ?
1) Should I create a yml file (an do the same process as above - when I understand it :))
2) can I hook the autocomplete?
3) can I create the plugin/module to add my autocomplete field?
Comment #10
dirku commentedI'm struggling with the same issue. I need to create a series of very long 'options', and I definitely don't want to go through the form
/admin/structure/webform/settings/options/manage/add
How do I include the .yml-files as options? A brief clarification would be much appreciated, I'm sure it's easy.
TIA, Dirk
PS Webforms is really great!